Removes a response header.
Inheritance
System.Object
ResponseHeaderRemoveTransform
Assembly: Yarp.ReverseProxy.dll
public class ResponseHeaderRemoveTransform : ResponseTransform
Constructors
|
Improve this Doc
View Source
Declaration
public ResponseHeaderRemoveTransform(string headerName, ResponseCondition condition)
Parameters
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