Inheritance: System.Net.WebSockets.WebSocket
        private static void SendKeepAlive(object state)
        {
            CommonWebSocket websocket = (CommonWebSocket)state;

            websocket.SendKeepAliveAsync();
        }
 protected ClientWebSocketWrapper(string uri)
 {
     _ws = CommonWebSocket.CreateClientWebSocket(SubProtocol, _keepAliveInterval, ReceiveChunkSize, false);
     _uri = new Uri(uri);
     _cancellationToken = _cancellationTokenSource.Token;
 }