MCPcopy
hub / github.com/gorilla/websocket / Write

Method Write

server.go:348–351  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

346}
347
348func (wh *writeHook) Write(p []byte) (int, error) {
349 wh.p = p
350 return len(p), nil
351}
352
353// bufioWriterBuffer grabs the buffer from a bufio.Writer.
354func bufioWriterBuffer(originalWriter io.Writer, bw *bufio.Writer) []byte {

Callers 8

UpgradeMethod · 0.45
DialMethod · 0.45
connectMethod · 0.45
computeAcceptKeyFunction · 0.45
DialContextMethod · 0.45
pumpStdinFunction · 0.45
writePumpMethod · 0.45
echoReadAllFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected