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

Method opts

compress.go:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50)
51
52func (m CompressionMode) opts() *compressionOptions {
53 return &compressionOptions{
54 clientNoContextTakeover: m == CompressionNoContextTakeover,
55 serverNoContextTakeover: m == CompressionNoContextTakeover,
56 }
57}
58
59type compressionOptions struct {
60 clientNoContextTakeover bool

Callers 6

dialFunction · 0.80
acceptDeflateFunction · 0.80
TestAcceptFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestAcceptFunction · 0.64