MCPcopy Index your code
hub / github.com/coder/websocket / flateContextTakeover

Method flateContextTakeover

write.go:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88func (mw *msgWriter) flateContextTakeover() bool {
89 if mw.c.client {
90 return !mw.c.copts.clientNoContextTakeover
91 }
92 return !mw.c.copts.serverNoContextTakeover
93}
94
95func (c *Conn) writer(ctx context.Context, typ MessageType) (io.WriteCloser, error) {
96 err := c.msgWriter.reset(ctx, typ)

Callers 2

writeCompressedFrameMethod · 0.95
CloseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected