net/http.Server.TLSNextProto (field)
10 uses
net/http (current package)
h2_bundle.go#L4284: if s.TLSNextProto == nil {
h2_bundle.go#L4285: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4310: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4316: s.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(hs *Server, c *tls.Conn, h Handler) {
server.go#L1954: if fn := c.server.TLSNextProto[proto]; fn != nil {
server.go#L2159: fn, ok := c.server.TLSNextProto[nextProtoUnencryptedHTTP2]
server.go#L3036: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3513: _, hasH2 := s.TLSNextProto["h2"]
server.go#L3514: http2Disabled := s.TLSNextProto != nil && !hasH2
server.go#L3766: if _, ok := s.TLSNextProto["h2"]; 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. |