WebRoute
Namespace: E2E
public sealed class WebRouteOne request a CancellationToken)
handler intercepted. Take exactly one decision. Each validates its options before
it decides, so a rejected option leaves the request undecided, and the request is aborted.
Inheritance: object
Properties
Section titled “Properties”Request
Section titled “Request”public WebRouteRequest Request { get; }The intercepted request.
Value: WebRouteRequest
Methods
Section titled “Methods”AbortAsync()
Section titled “AbortAsync()”public Task AbortAsync()Aborts the request.
Returns: Task
ContinueAsync(RouteContinueOverrides?)
Section titled “ContinueAsync(RouteContinueOverrides?)”public Task ContinueAsync(RouteContinueOverrides? overrides = null)Sends the request to the network once, skipping every other route.
Parameters
| Name | Type | Description |
|---|---|---|
overrides |
RouteContinueOverrides |
Returns: Task
FallbackAsync()
Section titled “FallbackAsync()”public Task FallbackAsync()Hands the request to the route registered before this one, or the network when none matches.
Returns: Task
FulfillAsync(RouteFulfillResponse)
Section titled “FulfillAsync(RouteFulfillResponse)”public Task FulfillAsync(RouteFulfillResponse response)Answers the request.
Parameters
| Name | Type | Description |
|---|---|---|
response |
RouteFulfillResponse |
Returns: Task