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#L3549: if !protos.HTTP2() {
server.go#L3556: if protos.HTTP2() && !have.HTTP2() {
server.go#L3759: if !p.HTTP2() && !p.UnencryptedHTTP2() {
transport.go#L428: if !protocols.HTTP2() && !protocols.UnencryptedHTTP2() {
![]() |
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. |