Open establishes the connection and starts forwarding upstream→runtime messages into resp. It must not block. ctx is cancelled on teardown.
(ctx context.Context, resp WebSocketResponseWriter)
| 132 | // Open establishes the connection and starts forwarding upstream→runtime |
| 133 | // messages into resp. It must not block. ctx is cancelled on teardown. |
| 134 | Open(ctx context.Context, resp WebSocketResponseWriter) error |
| 135 | // SendRequestMessage forwards one runtime→upstream message. |
| 136 | SendRequestMessage(ctx context.Context, msg CopilotWebSocketMessage) error |
| 137 | // Done is closed when the upstream connection completes (closed or errored). |
no outgoing calls
no test coverage detected