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