pub async fn ws_handler(
__arg0: State<ProxyState>,
headers: HeaderMap,
ws: WebSocketUpgrade,
) -> ResponseExpand description
Handles the WebSocket Responses transport on GET /v1/responses.
Codex (and the OpenAI SDK) default to ws://…/responses with one
response.create event per turn. Bridging the upgrade here lets the proxy be
a drop-in for Codex without forcing supports_websockets = false (#440); the
actual WS↔HTTP/SSE bridging lives in openai_responses_ws.