Skip to content

WebRoute

Namespace: E2E

public sealed class WebRoute

One 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

View source

public WebRouteRequest Request { get; }

The intercepted request.

Value: WebRouteRequest

View source

public Task AbortAsync()

Aborts the request.

Returns: Task

View source

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

View source

public Task FallbackAsync()

Hands the request to the route registered before this one, or the network when none matches.

Returns: Task

View source

public Task FulfillAsync(RouteFulfillResponse response)

Answers the request.

Parameters

Name Type Description
response RouteFulfillResponse

Returns: Task

View source