Sets or appends simple response header values.
Inheritance
System.Object
ResponseHeaderValueTransform
Assembly: Yarp.ReverseProxy.dll
public class ResponseHeaderValueTransform : ResponseTransform
Constructors
|
Improve this Doc
View Source
Declaration
public ResponseHeaderValueTransform(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
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