Skip to main content

ws_handler

Function ws_handler 

Source
pub async fn ws_handler(
    ws: WebSocketUpgrade,
    __arg1: State<SharedState>,
    auth: Option<Extension<AuthUser>>,
) -> Response
Expand description

WebSocket upgrade handler for /api/ws.