|
join 1.0
lightweight network framework library
|
#include <join/error.hpp>#include <join/utils.hpp>#include <system_error>#include <iostream>#include <sstream>#include <string>#include <map>

Go to the source code of this file.
Classes | |
| class | join::HttpCategory |
| HTTP API generic error category. More... | |
| class | join::HttpMessage |
| HTTP message. More... | |
| class | join::HttpRequest |
| HTTP request. More... | |
| class | join::HttpResponse |
| HTTP response. More... | |
| struct | std::is_error_condition_enum< join::HttpErrc > |
| HTTP API generic error code specialization. More... | |
Namespaces | |
| namespace | join |
| namespace | std |
Enumerations | |
| enum class | join::HttpErrc { join::BadRequest = 1 , join::Unauthorized , join::Forbidden , join::NotFound , join::Unsupported , join::LengthRequired , join::PayloadTooLarge , join::UriTooLong , join::HeaderTooLarge , join::ServerError , join::NotImplemented , join::BadGateway } |
| HTTP API generic error codes. More... | |
| enum | join::HttpMethod { join::Head = 1L << 0 , join::Get = 1L << 1 , join::Put = 1L << 2 , join::Post = 1L << 3 , join::Delete = 1L << 4 } |
| enumeration of HTTP methods. More... | |
Functions | |
| const std::error_category & | join::httpCategory () |
| get error category. | |
| std::error_code | join::make_error_code (HttpErrc code) |
| create an std::error_code object. | |
| std::error_condition | join::make_error_condition (HttpErrc code) |
| create an std::error_condition object. | |
| __inline__ HttpMethod | join::operator& (HttpMethod __a, HttpMethod __b) |
| perform binary AND on HttpMethod. | |
| __inline__ HttpMethod | join::operator| (HttpMethod __a, HttpMethod __b) |
| perform binary OR on HttpMethod. | |
| __inline__ HttpMethod | join::operator^ (HttpMethod __a, HttpMethod __b) |
| perform binary XOR on HttpMethod. | |
| __inline__ HttpMethod | join::operator~ (HttpMethod __a) |
| perform binary NOT on HttpMethod. | |
| __inline__ const HttpMethod & | join::operator&= (HttpMethod &__a, HttpMethod __b) |
| perform binary AND on HttpMethod. | |
| __inline__ const HttpMethod & | join::operator|= (HttpMethod &__a, HttpMethod __b) |
| perform binary OR on HttpMethod. | |
| __inline__ const HttpMethod & | join::operator^= (HttpMethod &__a, HttpMethod __b) |
| perform binary XOR on HttpMethod. | |