/// <summary> /// Update connection status based on WebSocket state /// </summary> /// <param name="webSocketState"></param> public void OnWebSocketStateChange(WebSocketState webSocketState) { IsConnected = WebSocketService.IsConnected(); }