net/http.Transport.TLSNextProto (field)
13 uses
net/http (current package)
h2_bundle.go#L7562: if t1.TLSNextProto == nil {
h2_bundle.go#L7563: t1.TLSNextProto = make(map[string]func(string, *tls.Conn) RoundTripper)
h2_bundle.go#L7565: t1.TLSNextProto[http2NextProtoTLS] = func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L7569: t1.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) RoundTripper {
transport.go#L255: TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
transport.go#L374: npm := maps.Clone(t.TLSNextProto)
transport.go#L378: t2.TLSNextProto = npm
transport.go#L402: t.tlsNextProtoWasNil = (t.TLSNextProto == nil)
transport.go#L423: if _, ok := t.TLSNextProto["h2"]; ok {
transport.go#L471: case t.TLSNextProto != nil:
transport.go#L474: if t.TLSNextProto["h2"] != nil {
transport.go#L1968: next, ok := t.TLSNextProto[nextProtoUnencryptedHTTP2]
transport.go#L1981: if next, ok := t.TLSNextProto[s.NegotiatedProtocol]; ok {
![]() |
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. |