net/http/internal/httpcommon.ServerRequestParam.Protocol (field)
7 uses
golang.org/x/net/http2
server.go#L2133: Protocol: f.PseudoValue("protocol"),
server.go#L2137: if disableExtendedConnectProtocol && rp.Protocol != "" {
server.go#L2143: if rp.Protocol == "" && (rp.Path != "" || rp.Scheme != "" || rp.Authority == "") {
server.go#L2168: if rp.Protocol != "" {
server.go#L2169: header.Set(":protocol", rp.Protocol)
golang.org/x/net/internal/httpcommon
request.go#L387: Protocol string
request.go#L447: if rp.Method == "CONNECT" && rp.Protocol == "" {
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)