public WebsocketCustomTransport(IHttpClient client, TimeSpan connectInterval, TimeSpan keepAlive) : base(client, "webSockets") { this.connectInterval = connectInterval; this.keepAlive = keepAlive; WebSocket = new Centipede.ClientWebSocket(); }
private void DisposeWebSocket() { WebSocket.Dispose(); WebSocket = null; }