Interface IConfigValidator
Provides methods to validate routes and clusters.
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface IConfigValidator
Methods
|
Improve this Doc
View Source
ValidateClusterAsync(ClusterConfig)
Validates a cluster and returns all errors.
Declaration
ValueTask<IList<Exception>> ValidateClusterAsync(ClusterConfig cluster)
Parameters
Returns
Type |
Description |
ValueTask<IList<Exception>> |
|
|
Improve this Doc
View Source
ValidateRouteAsync(RouteConfig)
Validates a route and returns all errors
Declaration
ValueTask<IList<Exception>> ValidateRouteAsync(RouteConfig route)
Parameters
Returns
Type |
Description |
ValueTask<IList<Exception>> |
|