Mapping custom transforms with particular routes #2034
-
Good morning everyone! Thanks for help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, see https://microsoft.github.io/reverse-proxy/articles/transforms.html#itransformprovider and ITransformFactory |
Beta Was this translation helpful? Give feedback.
-
Note that the callback you provide in .AddTransforms(builder =>
{
if (builder.Route.RouteId == "myRouteId")
{
builder.AddResponseTransform(async context =>
{
// ...
});
}
}); |
Beta Was this translation helpful? Give feedback.
Yes, see https://microsoft.github.io/reverse-proxy/articles/transforms.html#itransformprovider and ITransformFactory