MCPcopy Index your code
hub / github.com/gorilla/websocket / Write

Method Write

compression.go:98–103  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

96}
97
98func (w *flateWriteWrapper) Write(p []byte) (int, error) {
99 if w.fw == nil {
100 return 0, errWriteClosed
101 }
102 return w.fw.Write(p)
103}
104
105func (w *flateWriteWrapper) Close() error {
106 if w.fw == nil {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected