Class ResponseTrailerValueTransform
Sets or appends simple response trailer values.
Inheritance
System.Object
ResponseTrailerValueTransform
Assembly: Yarp.ReverseProxy.dll
public class ResponseTrailerValueTransform : ResponseTrailersTransform
Constructors
|
Improve this Doc
View Source
Declaration
public ResponseTrailerValueTransform(string headerName, string value, bool append, ResponseCondition condition)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.String |
value |
|
System.Boolean |
append |
|
ResponseCondition |
condition |
|
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