Copies only allowed request headers.
Inheritance
System.Object
RequestHeadersAllowedTransform
Assembly: Yarp.ReverseProxy.dll
public class RequestHeadersAllowedTransform : RequestTransform
Constructors
|
Improve this Doc
View Source
Declaration
public RequestHeadersAllowedTransform(string[] allowedHeaders)
Parameters
Type |
Name |
Description |
System.String[] |
allowedHeaders |
|
Methods
|
Improve this Doc
View Source
Transforms any of the available fields before building the outgoing request.
Declaration
public override ValueTask ApplyAsync(RequestTransformContext context)
Parameters
Returns
Type |
Description |
ValueTask |
|
Overrides