Esempio n. 1
0
 public HttpProcessor(TcpClient s, HttpServer srv)
 {
     this.socket = s;
     this.srv = srv;
 }
Esempio n. 2
0
 public void Start()
 {
     httpServer = new LydHttpServer(8080);
     httpThread = new Thread(new ThreadStart(httpServer.Listen));
     httpThread.Start();
 }
Esempio n. 3
0
        private static int MAX_POST_SIZE = 10 * 1024 * 1024; // 10MB

        public HttpProcessor(TcpClient s, HttpServer srv)
        {
            this.socket = s;
            this.srv    = srv;
        }