net/http.Transport.TLSNextProto (field)
15 uses
net/http (current package)
h2_bundle.go#L7737: if t1.TLSNextProto == nil {
h2_bundle.go#L7738: t1.TLSNextProto = make(map[string]func(string, *tls.Conn) RoundTripper)
h2_bundle.go#L7740: t1.TLSNextProto[http2NextProtoTLS] = func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L7744: t1.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) RoundTripper {
transport.go#L251: TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
transport.go#L366: npm := maps.Clone(t.TLSNextProto)
transport.go#L370: t2.TLSNextProto = npm
transport.go#L394: t.tlsNextProtoWasNil = (t.TLSNextProto == nil)
transport.go#L415: if _, ok := t.TLSNextProto["h2"]; ok {
transport.go#L463: case t.TLSNextProto != nil:
transport.go#L466: if t.TLSNextProto["h2"] != nil {
transport.go#L1918: next, ok := t.TLSNextProto[nextProtoUnencryptedHTTP2]
transport.go#L1931: if next, ok := t.TLSNextProto[s.NegotiatedProtocol]; ok {
golang.org/x/net/http2
transport.go#L313: if m := t1.TLSNextProto; len(m) == 0 {
transport.go#L314: t1.TLSNextProto = map[string]func(string, *tls.Conn) http.RoundTripper{
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)