Table of Contents

Enum ForwarderError

Namespace
Yarp.ReverseProxy.Forwarder
Assembly
Yarp.ReverseProxy.dll

Errors reported when forwarding a request to the destination.

public enum ForwarderError

Fields

NoAvailableDestinations = 17

Indicates there were no destinations remaining to proxy the request to. The configured destinations may have been excluded due to heath or other considerations.

None = 0

No error.

Request = 1

Failed to connect, send the request headers, or receive the response headers.

RequestBodyCanceled = 4

Canceled while copying the request body.

RequestBodyClient = 5

Failed reading the request body from the client.

RequestBodyDestination = 6

Failed writing the request body to the destination.

RequestCanceled = 3

Canceled when trying to connect, send the request headers, or receive the response headers.

RequestCreation = 18

Failed while creating the request message.

RequestTimedOut = 2

Timed out when trying to connect, send the request headers, or receive the response headers.

ResponseBodyCanceled = 8

Canceled while copying the response body.

ResponseBodyClient = 9

Failed when writing response body to the client.

ResponseBodyDestination = 10

Failed when reading response body from the destination.

ResponseHeaders = 7

Failed to copy response headers.

UpgradeActivityTimeout = 19

An upgraded request was idle and canceled due to the activity timeout.

UpgradeRequestCanceled = 11

Canceled while copying the upgraded response body.

UpgradeRequestClient = 12

Failed reading the upgraded request body from the client.

UpgradeRequestDestination = 13

Failed writing the upgraded request body to the destination.

UpgradeResponseCanceled = 14

Canceled while copying the upgraded response body.

UpgradeResponseClient = 15

Failed when writing the upgraded response body to the client.

UpgradeResponseDestination = 16

Failed when reading the upgraded response body from the destination.