Exemplo n.º 1
0
 public WebServer(MhfSetting setting, IWebServer server)
 {
     _logger = LogProvider.Logger(this);
     _server = server;
     _router = new WebRouter(setting);
     _server.SetHandler(this);
     _middlewareStack = new WebMiddlewareStack(_router.Route);
 }