const golang.org/x/net/http2.NextProtoTLS
8 uses
golang.org/x/net/http2 (current package)
http2.go#L64: NextProtoTLS = "h2"
server.go#L270: if p == NextProtoTLS {
server.go#L276: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, NextProtoTLS)
server.go#L304: s.TLSNextProto[NextProtoTLS] = protoHandler
transport.go#L584: if !strSliceContains(cfg.NextProtos, NextProtoTLS) {
transport.go#L585: cfg.NextProtos = append([]string{NextProtoTLS}, cfg.NextProtos...)
transport.go#L614: if p := state.NegotiatedProtocol; p != NextProtoTLS {
transport.go#L615: return nil, fmt.Errorf("http2: unexpected ALPN protocol %q; want %q", p, NextProtoTLS)
![]() |
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. |