pub fn is_websocket_disconnected(error: &WsError) -> bool
Expand description

Determine whether a WsError indicates the WebSocket has disconnected.