public HttpServer(Uri uri) { _uri = uri; _scheduler = KayakScheduler.Factory.Create(new SchedulerDelegate()); _requestProcessor = new RequestProcessor(new EndpointMatchingRule(), new RequestHandlerList()); _requestHandlerFactory = new RequestHandlerFactory(_requestProcessor); }
public HttpServer(Uri uri) { _uri = uri; _scheduler = KayakScheduler.Factory.Create(new SchedulerDelegate()); _requestProcessor = new RequestProcessor(new EndpointMatchingRule(), new RequestHandlerList()); _requestWasCalled = new RequestWasCalled(_requestProcessor); _requestWasNotCalled = new RequestWasNotCalled(_requestProcessor); _requestHandlerFactory = new RequestHandlerFactory(_requestProcessor); }