Table of Contents

Interface ITransformProvider

Namespace
Yarp.ReverseProxy.Transforms.Builder
Assembly
Yarp.ReverseProxy.dll

Enables the implementor to inspect each route and conditionally add transforms.

public interface ITransformProvider

Methods

Apply(TransformBuilderContext)

Inspect the given route and conditionally add transforms. This is called for every route, each time that route is built.

void Apply(TransformBuilderContext context)

Parameters

context TransformBuilderContext

The context to add any generated transforms to.

ValidateCluster(TransformClusterValidationContext)

Validates any cluster data needed for transforms.

void ValidateCluster(TransformClusterValidationContext context)

Parameters

context TransformClusterValidationContext

The context to add any generated errors to.

ValidateRoute(TransformRouteValidationContext)

Validates any route data needed for transforms.

void ValidateRoute(TransformRouteValidationContext context)

Parameters

context TransformRouteValidationContext

The context to add any generated errors to.