public static ChutzpahWebServerHost Create(NancyHost nancyHost, string rootPath, int port) { var host = new ChutzpahWebServerHost(nancyHost, rootPath, port); ActiveWebServer = host; return(host); }
public static ChutzpahWebServerHost Create(IWebHost webHost, string rootPath, int port) { var host = new ChutzpahWebServerHost(webHost, rootPath, port); return(host); }