Show / Hide Table of Contents

Interface IConfigValidator

Provides methods to validate routes and clusters.

Namespace: Yarp.ReverseProxy.Configuration
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
Type Name Description
ClusterConfig cluster
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
Type Name Description
RouteConfig route
Returns
Type Description
ValueTask<IList<Exception>>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX