Copies only allowed response headers.
Inheritance
System.Object
ResponseHeadersAllowedTransform
Assembly: Yarp.ReverseProxy.dll
public class ResponseHeadersAllowedTransform : ResponseTransform
Constructors
|
Improve this Doc
View Source
Declaration
public ResponseHeadersAllowedTransform(string[] allowedHeaders)
Parameters
Type |
Name |
Description |
System.String[] |
allowedHeaders |
|
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