net/http.Transport.Protocols (field)
10 uses
net/http (current package)
transport.go#L312: Protocols *Protocols
transport.go#L369: if t.Protocols != nil {
transport.go#L370: t2.Protocols = &Protocols{}
transport.go#L371: *t2.Protocols = *t.Protocols
transport.go#L465: if t.Protocols != nil {
transport.go#L466: return *t.Protocols // user-configured set
transport.go#L1949: t.Protocols != nil &&
transport.go#L1950: t.Protocols.UnencryptedHTTP2() &&
transport.go#L1951: !t.Protocols.HTTP1()
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |