Sets or appends simple request header values.
Inheritance
System.Object
RequestHeaderValueTransform
Assembly: Yarp.ReverseProxy.dll
public class RequestHeaderValueTransform : RequestHeaderTransform
Constructors
|
Improve this Doc
View Source
Declaration
public RequestHeaderValueTransform(string headerName, string value, bool append)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.String |
value |
|
System.Boolean |
append |
|
Methods
|
Improve this Doc
View Source
Declaration
public override ValueTask ApplyAsync(RequestTransformContext context)
Parameters
Returns
Type |
Description |
ValueTask |
|
Overrides
|
Improve this Doc
View Source
Declaration
protected override string GetValue(RequestTransformContext context)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides