Interface ITransformProvider
Enables the implementor to inspect each route and conditionally add transforms.
Namespace: Yarp.ReverseProxy.Transforms.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface ITransformProvider
Methods
| Improve this Doc View SourceApply(TransformBuilderContext)
Inspect the given route and conditionally add transforms. This is called for every route, each time that route is built.
Declaration
void Apply(TransformBuilderContext context)
Parameters
Type | Name | Description |
---|---|---|
TransformBuilderContext | context | The context to add any generated transforms to. |
ValidateCluster(TransformClusterValidationContext)
Validates any cluster data needed for transforms.
Declaration
void ValidateCluster(TransformClusterValidationContext context)
Parameters
Type | Name | Description |
---|---|---|
TransformClusterValidationContext | context | The context to add any generated errors to. |
ValidateRoute(TransformRouteValidationContext)
Validates any route data needed for transforms.
Declaration
void ValidateRoute(TransformRouteValidationContext context)
Parameters
Type | Name | Description |
---|---|---|
TransformRouteValidationContext | context | The context to add any generated errors to. |