ResponseFuncTransform Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A response transform that runs the given Func.
public class ResponseFuncTransform : Yarp.ReverseProxy.Transforms.ResponseTransform
type ResponseFuncTransform = class
inherit ResponseTransform
Public Class ResponseFuncTransform
Inherits ResponseTransform
- Inheritance
Constructors
ResponseFuncTransform(Func<ResponseTransformContext,ValueTask>) |
Methods
ApplyAsync(ResponseTransformContext) |
Transforms the given response. The status and headers will have (optionally) already been copied to the HttpResponse and any changes should be made there. |