pub fn is_websocket_disconnected(error: &WsError) -> bool
Determine whether a WsError indicates the WebSocket has disconnected.
WsError
WebSocket