/// <summary> /// Runs the route task. /// This function get called to excute to route. /// !!! DO NOT CHANGE !!! /// </summary> /// <param name="respond">Respond.</param> /// <param name="request">Request.</param> public virtual void RunRouteTask(HttpResponde respond, HttpRequest request) { this.request = request; this.respond = respond; this.RouteTask(); }
/// <summary> /// Runs the route task. /// Overrite the function. /// </summary> /// <param name="respond">Respond.</param> /// <param name="request">Request.</param> public override void RunRouteTask(HttpResponde respond, HttpRequest request) { this.request = request; this.respond = respond; this.RouteTask(); this.DoRenderToFile(); }