IProxyConfigFilter.ConfigureRouteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows modification of a route configuration.
public System.Threading.Tasks.ValueTask<Yarp.ReverseProxy.Configuration.RouteConfig> ConfigureRouteAsync (Yarp.ReverseProxy.Configuration.RouteConfig route, Yarp.ReverseProxy.Configuration.ClusterConfig? cluster, System.Threading.CancellationToken cancel);
abstract member ConfigureRouteAsync : Yarp.ReverseProxy.Configuration.RouteConfig * Yarp.ReverseProxy.Configuration.ClusterConfig * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Yarp.ReverseProxy.Configuration.RouteConfig>
Public Function ConfigureRouteAsync (route As RouteConfig, cluster As ClusterConfig, cancel As CancellationToken) As ValueTask(Of RouteConfig)
Parameters
- route
- RouteConfig
The RouteConfig instance to configure.
- cluster
- ClusterConfig
The ClusterConfig instance related to RouteConfig.
- cancel
- CancellationToken