public override void Subscribe(string channel) { if (!IsConnected) { throw new InvalidOperationException("WebSocket not connected or bayeux session not initialized"); } Send(new { channel = "/meta/subscribe", subscription = channel }); }