public override async Task OnConnectedAsync(WebSocket socket)
        {
            await base.OnConnectedAsync(socket);


            // Register Channel


            var socketId = WebSocketConnectionManager.GetId(socket);

            await SendMessageToAllAsync($"{socketId} is now connected");
        }
 public WebSocketHandler(WebSocketConnectionManager webSocketConnectionManager, IClusterClient clusterClient)
 {
     WebSocketConnectionManager = webSocketConnectionManager;
     this._clusterClient        = clusterClient;
 }
 public EventMessageHandler(WebSocketConnectionManager webSocketConnectionManager, IClusterClient clusterClient) : base(webSocketConnectionManager, clusterClient)
 {
 }