main
kzkzzzz 2025-07-13 00:19:17 +08:00
parent ab4043f28f
commit dbb113812d
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,10 @@ func New(opts ...ConfigOpt) *HttpClient {
return hc
}
func (h *HttpClient) RawClient() *http.Client {
return h.client
}
func (h *HttpClient) SetProxy(pr string) *HttpClient {
u, err := url.Parse(pr)
if err != nil {