Interface ITransformBuilder
Validates and builds request and response transforms for a given route.
Assembly: Yarp.ReverseProxy.dll
public interface ITransformBuilder
Methods
|
Improve this Doc
View Source
Builds the transforms for the given route into executable rules.
Declaration
HttpTransformer Build(RouteConfig route, ClusterConfig cluster)
Parameters
Returns
|
Improve this Doc
View Source
Create(Action<TransformBuilderContext>)
Declaration
HttpTransformer Create(Action<TransformBuilderContext> action)
Parameters
Returns
|
Improve this Doc
View Source
Validates that any cluster data needed for transforms is valid.
Declaration
IReadOnlyList<Exception> ValidateCluster(ClusterConfig cluster)
Parameters
Returns
Type |
Description |
IReadOnlyList<Exception> |
|
|
Improve this Doc
View Source
Validates that each transform for the given route is known and has the expected parameters. All transforms are validated
so all errors can be reported.
Declaration
IReadOnlyList<Exception> ValidateRoute(RouteConfig route)
Parameters
Returns
Type |
Description |
IReadOnlyList<Exception> |
|