AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Enumerations
HttpResponseCodes.h File Reference

Go to the source code of this file.

Enumerations

enum  HTTPResponseCode {
  HTTP_RESPONSE_CODE_UNDEFINED = 0, SUCCESS_OK = 200, SUCCESS_ACCEPTED = 202, SUCCESS_NO_CONTENT = 204,
  REDIRECTION_START_CODE = 300, REDIRECTION_END_CODE = 308, BAD_REQUEST = 400, FORBIDDEN = 403,
  SERVER_INTERNAL_ERROR = 500
}
 

Enumeration Type Documentation

◆ HTTPResponseCode

An enum to represent HTTP response codes.

ATTENTION - This enum has been deprecated and only exists to provide backward compatibility with code that was designed to work with past versions of the AVS C++ SDK.

Deprecated:
Use the alexaClientSDK::avsCommon::utils::http::HTTPResponseCode instead.
Enumerator
HTTP_RESPONSE_CODE_UNDEFINED 

No HTTP response received.

SUCCESS_OK 

HTTP Success with response payload.

SUCCESS_ACCEPTED 

HTTP Success with payload accepted for processing.

SUCCESS_NO_CONTENT 

HTTP Success with no response payload.

REDIRECTION_START_CODE 

This is used to detect the first Redirection (3xx) code.

REDIRECTION_END_CODE 

This is used to detect the last Redirection (3xx) code.

BAD_REQUEST 

HTTP code for invalid request by user.

FORBIDDEN 

HTTP code for forbidden request by user.

SERVER_INTERNAL_ERROR 

HTTP code for internal error by server which didn't fulfill the request.

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0