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

Method Close

go/copilot_request_handler.go:482–489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

480func (f *CopilotWebSocketForwarder) Err() error { return f.err }
481
482func (f *CopilotWebSocketForwarder) Close() error {
483 f.closeOnce.Do(func() {
484 if f.conn != nil {
485 _ = f.conn.Close(websocket.StatusNormalClosure, "")
486 }
487 })
488 return nil
489}
490
491// --- Internal adapter ---
492

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected