(exchange: CopilotRequestExchange, ctx: CopilotRequestContext)
| 264 | } |
| 265 | |
| 266 | async #handleHttp(exchange: CopilotRequestExchange, ctx: CopilotRequestContext): Promise<void> { |
| 267 | const request = await buildFetchRequest(exchange); |
| 268 | const response = await this.sendRequest(request, ctx); |
| 269 | await streamResponse(response, exchange); |
| 270 | } |
| 271 | |
| 272 | async #handleWebSocket(exchange: CopilotRequestExchange, ctx: InternalContext): Promise<void> { |
| 273 | const handler = await this.openWebSocket(ctx); |
no test coverage detected