()
| 163 | } |
| 164 | |
| 165 | func (h *CopilotRequestHandler) roundTripper() http.RoundTripper { |
| 166 | if h.Transport != nil { |
| 167 | return h.Transport |
| 168 | } |
| 169 | return sharedHTTPTransport |
| 170 | } |
| 171 | |
| 172 | func (h *CopilotRequestHandler) handleHTTP(rctx *CopilotRequestContext, sink *responseSink) error { |
| 173 | httpReq, err := buildHTTPRequest(rctx) |