MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / checkProtocolVersionMatch

Function checkProtocolVersionMatch

network/wsNetwork.go:975–990  ·  view source on GitHub ↗

checkProtocolVersionMatch test ProtocolAcceptVersionHeader and ProtocolVersionHeader headers from the request/response and see if it can find a match.

(otherHeaders http.Header, ourSupportedProtocolVersions []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

readPeerMetaHeadersFunction · 0.85
ServeHTTPMethod · 0.85

Calls 3

filterASCIIFunction · 0.70
GetMethod · 0.65
ContainsMethod · 0.45

Tested by 1