public HttpServer(HttpServerConfig config) { Config = config; Listener = new HttpListener(); Config.Bindings.ToList().ForEach(x => Listener.Prefixes.Add(x)); RootPath = config.RootPath; AddFirewallAuthorization(); }
public HttpFileServer(HttpServerConfig config) : base(config) { }