Table of Contents

Enum HttpRequestFailureCause

Namespace
Homa.Sdk.Foundation
Assembly
Homa.Sdk.Foundation.dll

Enumeration of possible causes of HttpRequestExecutionException

public enum HttpRequestFailureCause

Fields

ConnectionError = 4

The request has failed due to a connection error like lack of internet connection or the server being unavailable.

NonSuccessStatusCode = 1

The HTTP request has completed with a non-success (>299) status code

Other = 0

The cause is caused by another issue (see exception for details)

Timeout = 2

The HTTP request was terminated because of a timeout set by SetSingleRequestTimeout(TimeSpan)

UnsupportedResponsePayload = 3

The response payload could not be parsed to an expected type, either because of a serialization error, or an unsupported content type.