(rctx *CopilotRequestContext, sink *responseSink)
| 156 | } |
| 157 | |
| 158 | func (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 | |
| 165 | func (h *CopilotRequestHandler) roundTripper() http.RoundTripper { |
| 166 | if h.Transport != nil { |
nothing calls this directly
no test coverage detected