MCPcopy
hub / github.com/coder/websocket / newMsgWriter

Function newMsgWriter

write.go:66–73  ·  view source on GitHub ↗
(c *Conn)

Source from the content-addressed store, hash-verified

64}
65
66func newMsgWriter(c *Conn) *msgWriter {
67 mw := &msgWriter{
68 c: c,
69 mu: newMu(c),
70 writeMu: newMu(c),
71 }
72 return mw
73}
74
75func (mw *msgWriter) ensureFlate() {
76 if mw.trimWriter == nil {

Callers 1

newConnFunction · 0.85

Calls 1

newMuFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…