/// <summary> /// Initialises a new HttpServer. /// </summary> /// <param name="port"></param> public HttpServer(int port = 80) { // Init the Nacny self host var bootstrapper = new ToucheeNancyBootStrapper(); _host = new NancyHost( //new Uri( String.Format("http://localhost:{0}/", port) ), bootstrapper, this.CollectUris(port) ); }
/// <summary> /// Initialises a new HttpServer. /// </summary> /// <param name="port"></param> public HttpServer(int port = 80) { // Init the Nacny self host var bootstrapper = new ToucheeNancyBootStrapper(); _host = new NancyHost( //new Uri( String.Format("http://localhost:{0}/", port) ), bootstrapper, this.CollectUris(port) ); }