Enum ResponseCondition
Specifies the conditions under which a response transform will run.
Namespace: Yarp.ReverseProxy.Transforms
Assembly: Yarp.ReverseProxy.dll
Syntax
public enum ResponseCondition : int
Fields
Name | Description |
---|---|
Always | The transform runs for all conditions. |
Failure | The transform only runs if there is no response or a response with a 400+ status code. |
Success | The transform only runs if there is a successful response with a status code less than 400. |