Table of Contents

Enum ResponseCondition

Namespace
Yarp.ReverseProxy.Transforms
Assembly
Yarp.ReverseProxy.dll

Specifies the conditions under which a response transform will run.

public enum ResponseCondition

Fields

Always = 0

The transform runs for all conditions.

Failure = 2

The transform only runs if there is no response or a response with a 400+ status code.

Success = 1

The transform only runs if there is a successful response with a status code less than 400.