const net/http.http2NextProtoTLS
9 uses
net/http (current package)
h2_bundle.go#L3135: http2NextProtoTLS = "h2"
h2_bundle.go#L3836: if p == http2NextProtoTLS {
h2_bundle.go#L3842: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L3870: s.TLSNextProto[http2NextProtoTLS] = protoHandler
h2_bundle.go#L7087: if !http2strSliceContains(cfg.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L7088: cfg.NextProtos = append([]string{http2NextProtoTLS}, cfg.NextProtos...)
h2_bundle.go#L7117: if p := state.NegotiatedProtocol; p != http2NextProtoTLS {
h2_bundle.go#L7118: return nil, fmt.Errorf("http2: unexpected ALPN protocol %q; want %q", p, http2NextProtoTLS)
server.go#L2934: return strSliceContains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)