MCPcopy Create free account
hub / github.com/github/copilot-sdk / SendBinary

Method SendBinary

go/copilot_request_handler.go:341–348  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

339}
340
341func (w *wsResponseWriter) SendBinary(data []byte) error {
342 w.mu.Lock()
343 defer w.mu.Unlock()
344 if w.completed {
345 return nil
346 }
347 return w.sink.writeBinary(data)
348}
349
350func (w *wsResponseWriter) end() error {
351 w.mu.Lock()

Callers

nothing calls this directly

Calls 1

writeBinaryMethod · 0.80

Tested by

no test coverage detected