Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the HttpServer class
 /// </summary>
 /// <param name="verbose">A flag that indicates the verbosity level the server will use when logging</param>
 public HttpServer(bool verbose)
 {
     _verbose     = verbose;
     _connections = new HttpConnectionList();
     _dispatcher  = new HttpRequestDispatcher(this.CanOSSupportAspNet);
 }
Esempio n. 2
0
		/// <summary>
		/// Initializes a new instance of the HttpServer class
		/// </summary>
		/// <param name="verbose">A flag that indicates the verbosity level the server will use when logging</param>
		public HttpServer(bool verbose)
		{
			_verbose = verbose;
			_connections = new HttpConnectionList();
			_dispatcher = new HttpRequestDispatcher(this.CanOSSupportAspNet);
		}