Ejemplo n.º 1
0
        public HTTPRequest(TcpClient client, HTTPServer Parent)
        {
            this.client = client;
            this.Parent = Parent;

            this.HTTPResponse.BodySize = 0;
        }
Ejemplo n.º 2
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();
        }