MCPcopy Create free account
hub / github.com/boltrunner/gcli2api / NewOAuthHTTPClient

Function NewOAuthHTTPClient

internal/httpx/httpx.go:17–50  ·  view source on GitHub ↗

NewOAuthHTTPClient creates an *http.Client with OAuth2 transport. If proxyURL is non-nil, it is used as the upstream proxy. Supported schemes: http, socks5.

(ts oauth2.TokenSource, proxyURL *url.URL)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewMultiClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected