Table of Contents

Interface IRequestHandler

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Represents an interface that is executed before a request.

public interface IRequestHandler

Properties

ExecutionMode

Gets or sets when this RequestHandler should run.

Methods

Execute(HttpRequest, HttpContext)

This method is called by the Router before executing a request when the Route instantiates an object that implements this interface. If it returns a HttpResponse object, the route action is not called and all execution of the route is stopped. If it returns "null", the execution is continued.