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