Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gorilla/websocket
/ makeWsProto
Function
makeWsProto
client_server_test.go:127–129 · client_server_test.go::makeWsProto
(s string)
Source
from the content-addressed store, hash-verified
125
}
126
127
func
makeWsProto(s string) string {
128
return
"ws"
+ strings.TrimPrefix(s,
"http"
)
129
}
130
131
func
sendRecv(t *testing.T, ws *Conn) {
132
const
message =
"Hello World!"
Callers
5
newServer
Function · 0.85
newTLSServer
Function · 0.85
TestDialExtraTokensInRespHeaders
Function · 0.85
TestRespOnBadHandshake
Function · 0.85
TestNextProtos
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected