Example #1
0
 public WebsockServerClient(WebsockServer server, ref Stream stream, ref TcpClient client)
 {
     this.server = server;
     this.stream = stream;
     this.client = client;
     pingQueue   = new Queue <PingCallback>();
 }
Example #2
0
 public WebsockServerClient(WebsockServer server, ref ConnectionStream stream)
 {
     this.server   = server;
     this.protocol = new WebsockProtocol(ref stream);
 }