public TestHostAndServer(Pipeline pipeline, IEnumerable<IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(pipeline); }
public TestHostAndServer(MiddlewareFunc middleware, AppFunc next = null, IEnumerable<IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(environment => middleware(environment, next ?? Pipeline.ReturnDone)); }
public TestHostAndServer(AppFunc app, IEnumerable<IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(app); }
public TestHostAndServer(Pipeline pipeline, IEnumerable <IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(pipeline); }
public TestHostAndServer(MiddlewareFunc middleware, AppFunc next = null, IEnumerable <IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(environment => middleware(environment, next ?? Pipeline.ReturnDone)); }
public TestHostAndServer(AppFunc app, IEnumerable <IOwinHostService> hostServices = null) { _host = BuildHost(hostServices); _host.SetApp(app); }