public static void Main(string[] args) { Log.Write("start"); var server = new Core.HttpServer(); var ret = server.start(); Log.Write(ret); }
public void setNotFoundHeader() { this.setHeader(HttpServer.http_status_message(404), "text/html"); }
public void setOKHeader(string contentType) { this.setHeader(HttpServer.http_status_message(200), contentType); }