protected virtual void HandleRequest(HttpRequest request, HttpResponse response) { RouteMatch rm = Router.GetFirstHit(request.Url); CronshopContext context; if (rm.Route.Name == "cron") { context = new CronCronshopContext(request, response) {Scheduler = Scheduler}; } else { context = new CronshopContext(request, response); } context.RouteMatch = rm; context.BeginResponse(); }
public CronCronshopContext(HttpRequest request, HttpResponse response) : base(request, response) { }