net/http.Transport.TLSNextProto (field)
17 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 {
golang.org/x/net/http2
transport.go#L146: if t1.TLSNextProto == nil {
transport.go#L147: t1.TLSNextProto = make(map[string]func(string, *tls.Conn) http.RoundTripper)
transport.go#L149: t1.TLSNextProto[NextProtoTLS] = func(authority string, c *tls.Conn) http.RoundTripper {
transport.go#L153: t1.TLSNextProto[nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) http.RoundTripper {