public HttpServerFluentTests ListeningOnRoute(string urlPrefix) { var routeHandler = new EchoRouteHandler(); _routeHandlers[urlPrefix] = routeHandler; _httpServer.RegisterRoute(urlPrefix, routeHandler); return(this); }
public HttpServerFluentTests ListeningOnDefaultRoute() { var routeHandler = new EchoRouteHandler(); _routeHandlers[string.Empty] = routeHandler; _httpServer.RegisterRoute(routeHandler); return(this); }