Exemple #1
0
        public static void Main(string[] args)
        {
            Log.Write("start");
            var server = new Core.HttpServer();
            var ret    = server.start();

            Log.Write(ret);
        }
Exemple #2
0
 public void setNotFoundHeader()
 {
     this.setHeader(HttpServer.http_status_message(404), "text/html");
 }
Exemple #3
0
 public void setOKHeader(string contentType)
 {
     this.setHeader(HttpServer.http_status_message(200), contentType);
 }