net/http.connectMethod.proxyURL (field)
18 uses
net/http (current package)
transport.go#L830: cm.proxyURL, err = t.Proxy(treq.Request)
transport.go#L839: if cm.proxyURL == nil {
transport.go#L842: if u := cm.proxyURL.User; u != nil {
transport.go#L1568: if cm.proxyURL != nil {
transport.go#L1618: case cm.proxyURL == nil:
transport.go#L1620: case cm.proxyURL.Scheme == "socks5":
transport.go#L1623: if u := cm.proxyURL.User; u != nil {
transport.go#L1650: hdr, err = t.GetProxyConnectHeader(ctx, cm.proxyURL, cm.targetAddr)
transport.go#L1723: if cm.proxyURL != nil && cm.targetScheme == "https" {
transport.go#L1794: proxyURL *url.URL // nil for no proxy, else full proxy URL
transport.go#L1806: if cm.proxyURL != nil {
transport.go#L1807: proxyStr = cm.proxyURL.String()
transport.go#L1808: if (cm.proxyURL.Scheme == "http" || cm.proxyURL.Scheme == "https") && cm.targetScheme == "http" {
transport.go#L1822: if cm.proxyURL != nil {
transport.go#L1823: return cm.proxyURL.Scheme
transport.go#L1830: if cm.proxyURL != nil {
transport.go#L1831: return canonicalAddr(cm.proxyURL)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |