Functions | Variables
cpr::status Namespace Reference

Functions

constexpr bool is_client_error (const std::int32_t code)
 
constexpr bool is_informational (const std::int32_t code)
 
constexpr bool is_redirect (const std::int32_t code)
 
constexpr bool is_server_error (const std::int32_t code)
 
constexpr bool is_success (const std::int32_t code)
 

Variables

constexpr std::int32_t HTTP_ACCEPTED = 202
 
constexpr std::int32_t HTTP_ALREADY_REPORTED = 208
 
constexpr std::int32_t HTTP_BAD_GATEWAY = 502
 
constexpr std::int32_t HTTP_BAD_REQUEST = 400
 
constexpr std::int32_t HTTP_CONFLICT = 409
 
constexpr std::int32_t HTTP_CONTINUE = 100
 
constexpr std::int32_t HTTP_CREATED = 201
 
constexpr std::int32_t HTTP_EARLY_HINTS = 103
 
constexpr std::int32_t HTTP_EXPECTATION_FAILED = 417
 
constexpr std::int32_t HTTP_FAILED_DEPENDENCY = 424
 
constexpr std::int32_t HTTP_FORBIDDEN = 403
 
constexpr std::int32_t HTTP_FOUND = 302
 
constexpr std::int32_t HTTP_GATEWAY_TIMEOUT = 504
 
constexpr std::int32_t HTTP_GONE = 410
 
constexpr std::int32_t HTTP_HTTP_VERSION_NOT_SUPPORTED = 505
 
constexpr std::int32_t HTTP_IM_A_TEAPOT = 418
 
constexpr std::int32_t HTTP_IM_USED = 226
 
constexpr std::int32_t HTTP_INSUFFICIENT_STORAGE = 507
 
constexpr std::int32_t HTTP_INTERNAL_SERVER_ERROR = 500
 
constexpr std::int32_t HTTP_LENGTH_REQUIRED = 411
 
constexpr std::int32_t HTTP_LOCKED = 423
 
constexpr std::int32_t HTTP_LOOP_DETECTED = 508
 
constexpr std::int32_t HTTP_METHOD_NOT_ALLOWED = 405
 
constexpr std::int32_t HTTP_MISDIRECTED_REQUEST = 421
 
constexpr std::int32_t HTTP_MOVED_PERMANENTLY = 301
 
constexpr std::int32_t HTTP_MULTI_STATUS = 207
 
constexpr std::int32_t HTTP_MULTIPLE_CHOICE = 300
 
constexpr std::int32_t HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511
 
constexpr std::int32_t HTTP_NO_CONTENT = 204
 
constexpr std::int32_t HTTP_NON_AUTHORITATIVE_INFORMATION = 203
 
constexpr std::int32_t HTTP_NOT_ACCEPTABLE = 406
 
constexpr std::int32_t HTTP_NOT_EXTENDED = 510
 
constexpr std::int32_t HTTP_NOT_FOUND = 404
 
constexpr std::int32_t HTTP_NOT_IMPLEMENTED = 501
 
constexpr std::int32_t HTTP_NOT_MODIFIED = 304
 
constexpr std::int32_t HTTP_OK = 200
 
constexpr std::int32_t HTTP_PARTIAL_CONTENT = 206
 
constexpr std::int32_t HTTP_PAYLOAD_TOO_LARGE = 413
 
constexpr std::int32_t HTTP_PAYMENT_REQUIRED = 402
 
constexpr std::int32_t HTTP_PERMANENT_REDIRECT = 308
 
constexpr std::int32_t HTTP_PRECONDITION_FAILED = 412
 
constexpr std::int32_t HTTP_PRECONDITION_REQUIRED = 428
 
constexpr std::int32_t HTTP_PROCESSING = 102
 
constexpr std::int32_t HTTP_PROXY_AUTHENTICATION_REQUIRED = 407
 
constexpr std::int32_t HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431
 
constexpr std::int32_t HTTP_REQUEST_TIMEOUT = 408
 
constexpr std::int32_t HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416
 
constexpr std::int32_t HTTP_RESET_CONTENT = 205
 
constexpr std::int32_t HTTP_SEE_OTHER = 303
 
constexpr std::int32_t HTTP_SERVICE_UNAVAILABLE = 503
 
constexpr std::int32_t HTTP_SWITCHING_PROTOCOL = 101
 
constexpr std::int32_t HTTP_TEMPORARY_REDIRECT = 307
 
constexpr std::int32_t HTTP_TOO_EARLY = 425
 
constexpr std::int32_t HTTP_TOO_MANY_REQUESTS = 429
 
constexpr std::int32_t HTTP_UNAUTHORIZED = 401
 
constexpr std::int32_t HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451
 
constexpr std::int32_t HTTP_UNPROCESSABLE_ENTITY = 422
 
constexpr std::int32_t HTTP_UNSUPPORTED_MEDIA_TYPE = 415
 
constexpr std::int32_t HTTP_UNUSED = 306
 
constexpr std::int32_t HTTP_UPGRADE_REQUIRED = 426
 
constexpr std::int32_t HTTP_URI_TOO_LONG = 414
 
constexpr std::int32_t HTTP_USE_PROXY = 305
 
constexpr std::int32_t HTTP_VARIANT_ALSO_NEGOTIATES = 506
 

Function Documentation

constexpr bool cpr::status::is_client_error ( const std::int32_t  code)

Definition at line 84 of file status_codes.h.

constexpr bool cpr::status::is_informational ( const std::int32_t  code)

Definition at line 75 of file status_codes.h.

constexpr bool cpr::status::is_redirect ( const std::int32_t  code)

Definition at line 81 of file status_codes.h.

constexpr bool cpr::status::is_server_error ( const std::int32_t  code)

Definition at line 87 of file status_codes.h.

constexpr bool cpr::status::is_success ( const std::int32_t  code)

Definition at line 78 of file status_codes.h.

Variable Documentation

constexpr std::int32_t cpr::status::HTTP_ACCEPTED = 202

Definition at line 14 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_ALREADY_REPORTED = 208

Definition at line 20 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_BAD_GATEWAY = 502

Definition at line 65 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_BAD_REQUEST = 400

Definition at line 33 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_CONFLICT = 409

Definition at line 42 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_CONTINUE = 100

Definition at line 7 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_CREATED = 201

Definition at line 13 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_EARLY_HINTS = 103

Definition at line 10 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_EXPECTATION_FAILED = 417

Definition at line 50 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_FAILED_DEPENDENCY = 424

Definition at line 55 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_FORBIDDEN = 403

Definition at line 36 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_FOUND = 302

Definition at line 25 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_GATEWAY_TIMEOUT = 504

Definition at line 67 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_GONE = 410

Definition at line 43 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_HTTP_VERSION_NOT_SUPPORTED = 505

Definition at line 68 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_IM_A_TEAPOT = 418

Definition at line 51 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_IM_USED = 226

Definition at line 21 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_INSUFFICIENT_STORAGE = 507

Definition at line 70 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_INTERNAL_SERVER_ERROR = 500

Definition at line 63 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_LENGTH_REQUIRED = 411

Definition at line 44 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_LOCKED = 423

Definition at line 54 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_LOOP_DETECTED = 508

Definition at line 71 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_METHOD_NOT_ALLOWED = 405

Definition at line 38 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_MISDIRECTED_REQUEST = 421

Definition at line 52 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_MOVED_PERMANENTLY = 301

Definition at line 24 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_MULTI_STATUS = 207

Definition at line 19 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_MULTIPLE_CHOICE = 300

Definition at line 23 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511

Definition at line 73 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NO_CONTENT = 204

Definition at line 16 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NON_AUTHORITATIVE_INFORMATION = 203

Definition at line 15 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NOT_ACCEPTABLE = 406

Definition at line 39 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NOT_EXTENDED = 510

Definition at line 72 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NOT_FOUND = 404

Definition at line 37 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NOT_IMPLEMENTED = 501

Definition at line 64 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_NOT_MODIFIED = 304

Definition at line 27 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_OK = 200

Definition at line 12 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PARTIAL_CONTENT = 206

Definition at line 18 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PAYLOAD_TOO_LARGE = 413

Definition at line 46 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PAYMENT_REQUIRED = 402

Definition at line 35 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PERMANENT_REDIRECT = 308

Definition at line 31 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PRECONDITION_FAILED = 412

Definition at line 45 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PRECONDITION_REQUIRED = 428

Definition at line 58 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PROCESSING = 102

Definition at line 9 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_PROXY_AUTHENTICATION_REQUIRED = 407

Definition at line 40 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431

Definition at line 60 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_REQUEST_TIMEOUT = 408

Definition at line 41 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416

Definition at line 49 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_RESET_CONTENT = 205

Definition at line 17 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_SEE_OTHER = 303

Definition at line 26 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_SERVICE_UNAVAILABLE = 503

Definition at line 66 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_SWITCHING_PROTOCOL = 101

Definition at line 8 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_TEMPORARY_REDIRECT = 307

Definition at line 30 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_TOO_EARLY = 425

Definition at line 56 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_TOO_MANY_REQUESTS = 429

Definition at line 59 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UNAUTHORIZED = 401

Definition at line 34 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451

Definition at line 61 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UNPROCESSABLE_ENTITY = 422

Definition at line 53 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UNSUPPORTED_MEDIA_TYPE = 415

Definition at line 48 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UNUSED = 306

Definition at line 29 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_UPGRADE_REQUIRED = 426

Definition at line 57 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_URI_TOO_LONG = 414

Definition at line 47 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_USE_PROXY = 305

Definition at line 28 of file status_codes.h.

constexpr std::int32_t cpr::status::HTTP_VARIANT_ALSO_NEGOTIATES = 506

Definition at line 69 of file status_codes.h.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18