|
CoreComponents 4.0.0
A Modern C++ Toolkit
|
HTTP protocol building blocks. More...
Classes | |
| class | HttpChunkedSink |
| HTTP chunked transfer sink. More... | |
| class | HttpError |
| HTTP request could not be successfully processed. More... | |
| class | HttpMessage |
| HTTP message. More... | |
| class | HttpMessageGenerator |
| HTTP message generator. More... | |
| class | HttpMessageParser |
| HTTP message parser. More... | |
| class | HttpRequest |
| HTTP request message. More... | |
| class | HttpRequestGenerator |
| HTTP request generator. More... | |
| class | HttpRequestParser |
| HTTP server-side message parser. More... | |
| class | HttpResponse |
| HTTP response message. More... | |
| class | HttpResponseGenerator |
| HTTP response generator. More... | |
| class | HttpResponseParser |
| HTTP client-side message parser. More... | |
| class | HttpCloseRequest |
| A request to close the HTTP pipeline has been received. More... | |
| class | HttpStream |
| HTTP message stream (pipelining and chunked I/O) More... | |
| class | WebSocketStream |
| WebSocket message stream. More... | |
Enumerations | |
| enum class | HttpStatus : int { Continue = 100 , SwitchingProtocols = 101 , OK = 200 , Created = 201 , Accepted = 202 , NonAuthoritativeInformation = 203 , NoContent = 204 , ResetContent = 205 , PartialContent = 206 , MultipleChoices = 300 , MovedPermanently = 301 , MovedTemporarily = 302 , SeeOther = 303 , NotModified = 304 , UseProxy = 305 , TemporaryRedirect = 307 , BadRequest = 400 , Unauthorized = 401 , PaymentRequired = 402 , Forbidden = 403 , NotFound = 404 , MethodNotAllowed = 405 , NotAcceptable = 406 , ProxyAuthenticationRequired = 407 , RequestTimeout = 408 , Conflict = 409 , Gone = 410 , LengthRequired = 411 , PreconditionFailed = 412 , PayloadTooLarge = 413 , RequestUriTooLong = 414 , UnsupportedMediaType = 415 , InternalServerError = 500 , NotImplemented = 501 , BadGateway = 502 , ServiceUnavailable = 503 , GatewayTimeout = 504 , UnsupportedVersion = 505 } |
| HTTP status code. More... | |
Functions | |
| String | httpDateToString (const Date &date) |
| Stringify date for use in HTTP header fields. | |
| Date | httpDateFromString (const String &text, Out< bool > ok=None{}) |
| Read the textual representation of a HTTP date from text (e.g. | |
| int | operator+ (HttpStatus status) |
| Unary plus operator: cast HTTP status to integer. | |
| bool | httpSuccess (HttpStatus status) |
| Check if the HTTP status code indicates that the request was processed successfully by the server. | |
| bool | httpRedirection (HttpStatus status) |
| Check if the HTTP status code indicates that further client actions are necessary to fullfil the request. | |
| bool | httpError (HttpStatus status) |
| Check if the HTTP status code indicates an error condition. | |
| const char * | httpReasonPhrase (HttpStatus status) |
| Translate a HTTP status code into a human-readable form. | |
| String | str (HttpStatus status) |
| Stringify a HTTP status code. | |
HTTP protocol building blocks.
| class cc::HttpCloseRequest |
A request to close the HTTP pipeline has been received.
|
strong |
HTTP status code.
Read the textual representation of a HTTP date from text (e.g.
"Tue, 10 Sep 2013 11:01:10 GMT")
| int operator+ | ( | HttpStatus | status | ) |
Unary plus operator: cast HTTP status to integer.
| bool httpSuccess | ( | HttpStatus | status | ) |
Check if the HTTP status code indicates that the request was processed successfully by the server.
| bool httpRedirection | ( | HttpStatus | status | ) |
Check if the HTTP status code indicates that further client actions are necessary to fullfil the request.
| bool httpError | ( | HttpStatus | status | ) |
Check if the HTTP status code indicates an error condition.
| const char * httpReasonPhrase | ( | HttpStatus | status | ) |
Translate a HTTP status code into a human-readable form.
| String str | ( | HttpStatus | status | ) |
Stringify a HTTP status code.