(h http.Header)
| 244 | } |
| 245 | |
| 246 | func cloneHeader(h http.Header) http.Header { |
| 247 | out := http.Header{} |
| 248 | for k, vs := range h { |
| 249 | out[k] = append([]string(nil), vs...) |
| 250 | } |
| 251 | return out |
| 252 | } |
| 253 | |
| 254 | func (h *CopilotRequestHandler) handleWebSocket(rctx *CopilotRequestContext, sink *responseSink) error { |
| 255 | var handler CopilotWebSocketHandler |
no outgoing calls
no test coverage detected
searching dependent graphs…