public Listener(NaiveHttpServer server, TcpListener tcpListener) { this.server = server; this.tcpListener = tcpListener; tcpListener.Server.NoDelay = true; this.localEP = tcpListener.LocalEndpoint as IPEndPoint; }
public HttpConnection(IMyStream myStream, EPPair epPair, NaiveHttpServer server) { this.baseStream = myStream.ToStream(); this.myStream = myStream; this.server = server; this.epPair = epPair; }