IConfigValidator.ValidateRouteAsync(RouteConfig) 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.
Validates a route and returns all errors
public System.Threading.Tasks.ValueTask<System.Collections.Generic.IList<Exception>> ValidateRouteAsync(Yarp.ReverseProxy.Configuration.RouteConfig route);
abstract member ValidateRouteAsync : Yarp.ReverseProxy.Configuration.RouteConfig -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IList<Exception>>
Public Function ValidateRouteAsync (route As RouteConfig) As ValueTask(Of IList(Of Exception))
Parameters
- route
- RouteConfig