Delegate RouteHandlerCallback
Base class for callbacks used to handle routed requests.
Namespace: EmbedIO.Routing
Syntax
public delegate Task RouteHandlerCallback(IHttpContext context, RouteMatch route);
Parameters
Type | Name | Description |
---|---|---|
IHttpContext | context | An IHttpContext interface representing the context of the request. |
RouteMatch | route | The matched route. |
Returns
Type | Description |
---|---|
Task | A |