DHUHttpEx extension

DHUHttpEx

on

Properties

isAcceptedCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code specifically represents Accepted (202)
no setter
isAuthenticationError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents an authentication error
no setter
isClientErrorCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a client error (4xx)
no setter
isConflictError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a conflict
no setter
isCreatedCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code specifically represents Created (201)
no setter
isNoContentCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code specifically represents No Content (204)
no setter
isNotFoundError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a not found error
no setter
isOkCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code specifically represents OK (200)
no setter
isPermanentRedirect bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a permanent redirection
no setter
isRateLimitError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a rate limit error
no setter
isRedirectionCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a redirection (3xx)
no setter
isRetryableError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the request should be retried based on the status code
no setter
isServerErrorCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a server error (5xx)
no setter
isSuccessCode bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a successful response (2xx)
no setter
isTemporaryRedirect bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a temporary redirection
no setter
isTimeoutError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a timeout error
no setter
isValidationError bool

Available on num?, provided by the DHUHttpEx extension

Checks if the status code represents a validation error
no setter
isValidPhoneNumber bool

Available on num?, provided by the DHUHttpEx extension

Returns true if the string representation of this number is a valid phone number.
no setter
statusCodeRetryDelay Duration

Available on num?, provided by the DHUHttpEx extension

Gets suggested retry delay as a Duration based on status code
no setter
toHttpStatusDevMessage String

Available on num?, provided by the DHUHttpEx extension

Returns the developer-friendly HTTP status message associated with the number. If the status code is not found, it returns "Not Found".
no setter
toHttpStatusMessage String

Available on num?, provided by the DHUHttpEx extension

Returns the HTTP status message associated with the number. If the status code is not found, it returns "Not Found".
no setter
toHttpStatusUserMessage String

Available on num?, provided by the DHUHttpEx extension

Returns the user-friendly HTTP status message associated with the number. If the status code is not found, it returns "Not Found".
no setter