pub async fn websocket_handler(
req: HttpRequest,
stream: Payload,
state: Data<AppState>,
) -> Result<HttpResponse, Error>pub async fn websocket_handler(
req: HttpRequest,
stream: Payload,
state: Data<AppState>,
) -> Result<HttpResponse, Error>