Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: UrlMapping(UrlHook, Func<HttpRequest, HttpResponse>, bool)

Declaration

public UrlMapping(
    UrlHook hook,
    Func<HttpRequest, HttpResponse> handler,
    bool skippable = false
)

Summary

Initialises a new UrlMapping.

Parameters

UrlHookhook The URL properties to map from.
Func<HttpRequest, HttpResponse>handler The request handler to map to.
boolskippable If true, the handler may be skipped if it returns null.