Skip to main content

ws_handler

Function ws_handler 

Source
pub async fn ws_handler(
    ws: WebSocketUpgrade,
    __arg1: State<Arc<AppState>>,
    __arg2: Query<MonitorQuery>,
) -> impl IntoResponse
Expand description

WS /ws/monitor — WebSocket endpoint for live token monitoring.