Skip to main content

ws_handler

Function ws_handler 

Source
pub async fn ws_handler(
    ws: WebSocketUpgrade,
    __arg1: State<AppState>,
    __arg2: Path<u64>,
    identity: Option<Extension<Identity>>,
) -> impl IntoResponse
Expand description

WebSocket upgrade handler.