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

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