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