MCPcopy Index your code
hub / github.com/github/copilot-sdk / wsResponseWriter

Struct wsResponseWriter

go/copilot_request_handler.go:315–320  ·  view source on GitHub ↗

wsResponseWriter serialises WebSocket response writes into the sink.

Source from the content-addressed store, hash-verified

313
314// wsResponseWriter serialises WebSocket response writes into the sink.
315type wsResponseWriter struct {
316 mu sync.Mutex
317 sink *responseSink
318 started bool
319 completed bool
320}
321
322func (w *wsResponseWriter) start() error {
323 w.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected