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

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