net/http.Transport.ForceAttemptHTTP2 (field)
6 uses
net/http (current package)
transport.go#L48: ForceAttemptHTTP2: true,
transport.go#L282: ForceAttemptHTTP2 bool
transport.go#L327: ForceAttemptHTTP2: t.ForceAttemptHTTP2,
transport.go#L386: if !t.ForceAttemptHTTP2 && (t.TLSClientConfig != nil || t.Dial != nil || t.DialContext != nil || t.hasCustomTLSDialer()) {
net/http/httptest
server.go#L178: ForceAttemptHTTP2: s.EnableHTTP2,
![]() |
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. |