Documentation
¶
Index ¶
Constants ¶
View Source
const UnsupportedProxyProtocolMessage = "Unsupported proxy protocol. SOCKS and PAC proxy URLs are not supported; use an HTTP or HTTPS proxy URL."
Variables ¶
This section is empty.
Functions ¶
func ResolveHTTPProxyURLForTargetWithLookup ¶ added in v0.82.0
func ResolveHTTPProxyURLForTargetWithLookup( targetURL string, lookup func(string) string, ) (*url.URL, error)
ResolveHTTPProxyURLForTargetWithLookup resolves proxy variables through a caller-owned lookup. This keeps request-scoped provider configuration out of the process environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.