azure-core
Namespaces | Classes | Enumerations
Azure::Core::Http Namespace Reference

Abstractions related to HTTP transport layer.

Namespaces

 Policies
 Abstractions related to controlling the behavior of HTTP requests.
 

Classes

class  CurlTransport
 Concrete implementation of an HTTP Transport that uses libcurl. More...
 
struct  CurlTransportOptions
 Set the libcurl connection options like a proxy and CA path. More...
 
struct  CurlTransportSslOptions
 The available options to set libcurl SSL options. More...
 
class  HttpMethod
 The method to be performed on the resource identified by the Request. More...
 
struct  HttpRange
 The range of bytes within an HTTP resource. More...
 
class  HttpTransport
 Base class for all HTTP transport implementations. More...
 
class  RawResponse
 After receiving and interpreting a request message, a server responds with an HTTP response message. More...
 
class  Request
 A request message from a client to a server. More...
 
class  TransportException
 An error while sending the HTTP request with the transport adapter. More...
 
class  WinHttpTransport
 Concrete implementation of an HTTP transport that uses WinHTTP when sending and receiving requests and responses over the wire. More...
 
struct  WinHttpTransportOptions
 Sets the WinHTTP session and connection options used to customize the behavior of the transport. More...
 

Enumerations

enum  HttpStatusCode {
  HttpStatusCode::None = 0, HttpStatusCode::Continue = 100, HttpStatusCode::SwitchingProtocols = 101, HttpStatusCode::Processing = 102,
  HttpStatusCode::EarlyHints = 103, HttpStatusCode::Ok = 200, HttpStatusCode::Created = 201, HttpStatusCode::Accepted = 202,
  HttpStatusCode::NonAuthoritativeInformation = 203, HttpStatusCode::NoContent = 204, HttpStatusCode::ResetContent = 205, HttpStatusCode::PartialContent = 206,
  HttpStatusCode::MultiStatus = 207, HttpStatusCode::AlreadyReported = 208, HttpStatusCode::IMUsed = 226, HttpStatusCode::MultipleChoices = 300,
  HttpStatusCode::MovedPermanently = 301, HttpStatusCode::Found = 302, HttpStatusCode::SeeOther = 303, HttpStatusCode::NotModified = 304,
  HttpStatusCode::UseProxy = 305, HttpStatusCode::TemporaryRedirect = 307, HttpStatusCode::PermanentRedirect = 308, HttpStatusCode::BadRequest = 400,
  HttpStatusCode::Unauthorized = 401, HttpStatusCode::PaymentRequired = 402, HttpStatusCode::Forbidden = 403, HttpStatusCode::NotFound = 404,
  HttpStatusCode::MethodNotAllowed = 405, HttpStatusCode::NotAcceptable = 406, HttpStatusCode::ProxyAuthenticationRequired = 407, HttpStatusCode::RequestTimeout = 408,
  HttpStatusCode::Conflict = 409, HttpStatusCode::Gone = 410, HttpStatusCode::LengthRequired = 411, HttpStatusCode::PreconditionFailed = 412,
  HttpStatusCode::PayloadTooLarge = 413, HttpStatusCode::UriTooLong = 414, HttpStatusCode::UnsupportedMediaType = 415, HttpStatusCode::RangeNotSatisfiable = 416,
  HttpStatusCode::ExpectationFailed = 417, HttpStatusCode::MisdirectedRequest = 421, HttpStatusCode::UnprocessableEntity = 422, HttpStatusCode::Locked = 423,
  HttpStatusCode::FailedDependency = 424, HttpStatusCode::TooEarly = 425, HttpStatusCode::UpgradeRequired = 426, HttpStatusCode::PreconditionRequired = 428,
  HttpStatusCode::TooManyRequests = 429, HttpStatusCode::RequestHeaderFieldsTooLarge = 431, HttpStatusCode::UnavailableForLegalReasons = 451, HttpStatusCode::InternalServerError = 500,
  HttpStatusCode::NotImplemented = 501, HttpStatusCode::BadGateway = 502, HttpStatusCode::ServiceUnavailable = 503, HttpStatusCode::GatewayTimeout = 504,
  HttpStatusCode::HttpVersionNotSupported = 505, HttpStatusCode::VariantAlsoNegotiates = 506, HttpStatusCode::InsufficientStorage = 507, HttpStatusCode::LoopDetected = 508,
  HttpStatusCode::NotExtended = 510, HttpStatusCode::NetworkAuthenticationRequired = 511
}
 Defines the possible HTTP status codes. More...
 

Enumeration Type Documentation

◆ HttpStatusCode

Enumerator
None 

No HTTP status code.

Continue 

HTTP 100 Continue.

SwitchingProtocols 

HTTP 101 Switching Protocols.

Processing 

HTTP 102 Processing.

EarlyHints 

HTTP 103 Early Hints.

Ok 

HTTP 200 OK.

Created 

HTTP 201 Created.

Accepted 

HTTP 202 Accepted.

NonAuthoritativeInformation 

HTTP 203 Non-Authoritative Information.

NoContent 

HTTP 204 No Content.

ResetContent 

HTTP 205 Rest Content.

PartialContent 

HTTP 206 Partial Content.

MultiStatus 

HTTP 207 Multi-Status.

AlreadyReported 

HTTP 208 Already Reported.

IMUsed 

HTTP 226 IM Used.

MultipleChoices 

HTTP 300 Multiple Choices.

MovedPermanently 

HTTP 301 Moved Permanently.

Found 

HTTP 302 Found.

SeeOther 

HTTP 303 See Other.

NotModified 

HTTP 304 Not Modified.

UseProxy 

HTTP 305 Use Proxy.

TemporaryRedirect 

HTTP 307 Temporary Redirect.

PermanentRedirect 

HTTP 308 Permanent Redirect.

BadRequest 

HTTP 400 Bad Request.

Unauthorized 

HTTP 401 Unauthorized.

PaymentRequired 

HTTP 402 Payment Required.

Forbidden 

HTTP 403 Forbidden.

NotFound 

HTTP 404 Not Found.

MethodNotAllowed 

HTTP 405 Method Not Allowed.

NotAcceptable 

HTTP 406 Not Acceptable.

ProxyAuthenticationRequired 

HTTP 407 Proxy Authentication Required.

RequestTimeout 

HTTP 408 Request Timeout.

Conflict 

HTTP 409 Conflict.

Gone 

HTTP 410 Gone.

LengthRequired 

HTTP 411 Length Required.

PreconditionFailed 

HTTP 412 Precondition Failed.

PayloadTooLarge 

HTTP 413 Payload Too Large.

UriTooLong 

HTTP 414 URI Too Long.

UnsupportedMediaType 

HTTP 415 Unsupported Media Type.

RangeNotSatisfiable 

HTTP 416 Range Not Satisfiable.

ExpectationFailed 

HTTP 417 Expectation Failed.

MisdirectedRequest 

HTTP 421 Misdirected Request.

UnprocessableEntity 

HTTP 422 Unprocessable Entity.

Locked 

HTTP 423 Locked.

FailedDependency 

HTTP 424 Failed Dependency.

TooEarly 

HTTP 425 Too Early.

UpgradeRequired 

HTTP 426 Upgrade Required.

PreconditionRequired 

HTTP 428 Precondition Required.

TooManyRequests 

HTTP 429 Too Many Requests.

RequestHeaderFieldsTooLarge 

HTTP 431 Request Header Fields Too Large.

UnavailableForLegalReasons 

HTTP 451 Unavailable For Legal Reasons.

InternalServerError 

HTTP 500 Internal Server Error.

NotImplemented 

HTTP 501 Not Implemented.

BadGateway 

HTTP 502 Bad Gateway.

ServiceUnavailable 

HTTP 503 Unavailable.

GatewayTimeout 

HTTP 504 Gateway Timeout.

HttpVersionNotSupported 

HTTP 505 HTTP Version Not Supported.

VariantAlsoNegotiates 

HTTP 506 Variant Also Negotiates.

InsufficientStorage 

HTTP 507 Insufficient Storage.

LoopDetected 

HTTP 508 Loop Detected.

NotExtended 

HTTP 510 Not Extended.

NetworkAuthenticationRequired 

HTTP 511 Network Authentication Required.