pub async fn ws_handler<DB: DatabaseRef<Error = ErrReport> + Send + Sync + Clone + 'static>(
ws: WebSocketUpgrade,
__arg1: ConnectInfo<SocketAddr>,
__arg2: State<AppState<DB>>,
) -> impl IntoResponse
Expand description
Handle websocket upgrade