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