MCPcopy
hub / github.com/cloudflare/cloudflared / Write

Method Write

connection/http2_test.go:248–254  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

246}
247
248func (w *wsRespWriter) Write(data []byte) (n int, err error) {
249 if w.closed {
250 w.panicked = true
251 return 0, errors.New("wsRespWriter panicked")
252 }
253 return w.writePipe.Write(data)
254}
255
256func (w *wsRespWriter) close() {
257 w.closed = true

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected