public HTTPRequest(TcpClient client, HTTPServer Parent) { this.client = client; this.Parent = Parent; this.HTTPResponse.BodySize = 0; }
/// <summary> /// Startup the server /// </summary> public void Startup(int thePort, string theFolder) { Debug.Assert(null == theServer); this.theFolder = theFolder; this.theServer = new HTTPServer(OnResponse); this.theServer.Start(thePort); LoadInputs(); }