Table of Contents

Method Execute

Namespace
Sisk.BasicAuth
Assembly
Sisk.BasicAuth.dll

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 callback is not called and all execution of the route is stopped. If it returns "null", the execution is continued.

public HttpResponse? Execute(HttpRequest request, HttpContext context)

Parameters

request HttpRequest
context HttpContext

Returns

HttpResponse