Function ws_handler

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

Handle websocket upgrade