Documentation ¶
Overview ¶
Package tshttpproxy contains Tailscale additions to httpproxy not available in golang.org/x/net/http/httpproxy. Notably, it aims to support Windows better.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthHeader ¶
GetAuthHeader returns the Authorization header value to send to proxy u.
func InvalidateCache ¶
func InvalidateCache()
InvalidateCache invalidates the package-level cache for ProxyFromEnvironment.
It's intended to be called on network link/routing table changes.
func SetTransportGetProxyConnectHeader ¶
SetTransportGetProxyConnectHeader sets the provided Transport's GetProxyConnectHeader field, if the current build of Go supports it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.