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

Method SendText

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

Source from the content-addressed store, hash-verified

330}
331
332func (w *wsResponseWriter) SendText(data []byte) error {
333 w.mu.Lock()
334 defer w.mu.Unlock()
335 if w.completed {
336 return nil
337 }
338 return w.sink.writeText(data)
339}
340
341func (w *wsResponseWriter) SendBinary(data []byte) error {
342 w.mu.Lock()

Callers

nothing calls this directly

Calls 1

writeTextMethod · 0.80

Tested by

no test coverage detected