private async Task SendMessage(HubClient client, ActionMessage message)
        {
            if (client.SocketState != WebSocketState.Open)
            {
                return;
            }

            var jsonMessage = message.ToJson();

            await SendString(client.Socket, jsonMessage);
        }