Skip to main content

ws_handler

Function ws_handler 

Source
pub async fn ws_handler(
    req: HttpRequest,
    stream: Payload,
    session: Session,
    server: Data<Addr<WsServer>>,
) -> Result<HttpResponse, Error>
Expand description

WebSocket handler endpoint