net/http.Protocols.HTTP2 (method)
7 uses
net/http (current package)
http.go#L47: func (p Protocols) HTTP2() bool { return p.bits&protoHTTP2 != 0 }
http.go#L71: if p.HTTP2() {
server.go#L3539: if !protos.HTTP2() {
server.go#L3546: if protos.HTTP2() && !have.HTTP2() {
server.go#L3749: if !p.HTTP2() && !p.UnencryptedHTTP2() {
transport.go#L420: if !protocols.HTTP2() && !protocols.UnencryptedHTTP2() {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)