Class ResponseFuncTransform
A response transform that runs the given Func.
Inheritance
System.Object
ResponseFuncTransform
Assembly: Yarp.ReverseProxy.dll
public class ResponseFuncTransform : ResponseTransform
Constructors
|
Improve this Doc
View Source
ResponseFuncTransform(Func<ResponseTransformContext, ValueTask>)
Declaration
public ResponseFuncTransform(Func<ResponseTransformContext, ValueTask> func)
Parameters
Methods
|
Improve this Doc
View Source
ApplyAsync(ResponseTransformContext)
Transforms the given response. The status and headers will have (optionally) already been
copied to the and any changes should be made there.
Declaration
public override ValueTask ApplyAsync(ResponseTransformContext context)
Parameters
Returns
Type |
Description |
ValueTask |
|
Overrides