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

Method handle

go/copilot_request_handler.go:158–163  ·  view source on GitHub ↗
(rctx *CopilotRequestContext, sink *responseSink)

Source from the content-addressed store, hash-verified

156}
157
158func (h *CopilotRequestHandler) handle(rctx *CopilotRequestContext, sink *responseSink) error {
159 if rctx.Transport == "websocket" {
160 return h.handleWebSocket(rctx, sink)
161 }
162 return h.handleHTTP(rctx, sink)
163}
164
165func (h *CopilotRequestHandler) roundTripper() http.RoundTripper {
166 if h.Transport != nil {

Callers

nothing calls this directly

Calls 2

handleWebSocketMethod · 0.95
handleHTTPMethod · 0.95

Tested by

no test coverage detected