pub async fn graphql_ws_handler(
__arg0: State<Arc<GraphQLState>>,
protocol: GraphQLProtocol,
ws: WebSocketUpgrade,
) -> impl IntoResponseExpand description
Handle GraphQL WebSocket subscription upgrade.
This should be called with a WebSocket upgrade request to enable GraphQL subscriptions over WebSocket.
It authenticates nothing: no caller identity, session or JWT claims reach
the operations it runs. postrust-server serves its WebSocket routes with
its own handler, which settles the identity from connection_init exactly
as an HTTP request’s is settled; an embedder needing the same must insert a
GraphQLContext per operation itself.