|
RESTinio
|
#include <restinio/impl/include_fmtlib.hpp>#include <restinio/impl/string_caseless_compare.hpp>#include <restinio/exception.hpp>#include <restinio/string_view.hpp>#include <restinio/optional.hpp>#include <restinio/common_types.hpp>#include <http_parser.h>#include <iosfwd>#include <string>#include <vector>#include <algorithm>Go to the source code of this file.
Classes | |
| class | restinio::http_header_field_t |
| A single header field. More... | |
| class | restinio::http_header_fields_t |
| Header fields map. More... | |
| struct | restinio::http_header_common_t |
| Req/Resp headers common data. More... | |
| class | restinio::http_method_id_t |
| A type for representation of HTTP method ID. More... | |
| class | restinio::default_http_methods_t |
| The default implementation for http_method_mapper. More... | |
| struct | restinio::http_request_header_t |
| Req header. More... | |
| class | restinio::http_status_code_t |
| A handy wrapper for HTTP response status code. More... | |
| class | restinio::http_status_line_t |
| HTTP response header status line. More... | |
| struct | restinio::http_response_header_t |
| Resp header. More... | |
Namespaces | |
| namespace | restinio |
| namespace | restinio::impl |
| namespace | restinio::status_code |
Macros | |
| #define | RESTINIO_HTTP_FIELDS_MAP(RESTINIO_GEN) |
| #define | RESTINIO_HTTP_FIELD_GEN(name, ignored) name, |
| #define | RESTINIO_HTTP_CHECK_FOR_FIELD(field_id, candidate_field_name) |
| #define | RESTINIO_HTTP_FIELD_STR_GEN(name, string_name) case http_field_t::name: result = #string_name; break; |
Typedefs | |
| using | restinio::http_field = http_field_t |
Helper alies to omitt _t suffix. | |
Enumerations | |
| enum class | restinio::http_field_t : std::uint8_t { restinio::RESTINIO_HTTP_FIELD_GEN , restinio::field_unspecified } |
| C++ enum that repeats nodejs c-style enum. More... | |
| #define RESTINIO_HEADER_FIELDS_DEFAULT_RESERVE_COUNT 4 |
Definition at line 668 of file http_headers.hpp.
| #define RESTINIO_HTTP_CHECK_FOR_FIELD | ( | field_id, | |
| candidate_field_name | |||
| ) |
| #define RESTINIO_HTTP_FIELD_GEN | ( | name, | |
| ignored | |||
| ) | name, |
Definition at line 234 of file http_headers.hpp.
| #define RESTINIO_HTTP_FIELD_STR_GEN | ( | name, | |
| string_name | |||
| ) | case http_field_t::name: result = #string_name; break; |
| #define RESTINIO_HTTP_FIELDS_MAP | ( | RESTINIO_GEN | ) |
Definition at line 34 of file http_headers.hpp.
| #define RESTINIO_HTTP_METHOD_FUNC_GEN | ( | func_name, | |
| nodejs_code, | |||
| method_name | |||
| ) |
Definition at line 1799 of file http_headers.hpp.
| #define RESTINIO_HTTP_METHOD_FUNC_GEN | ( | func_name, | |
| nodejs_code, | |||
| method_name | |||
| ) | case nodejs_code : result = func_name(); break; |
Definition at line 1799 of file http_headers.hpp.
| #define RESTINIO_HTTP_METHOD_MAP | ( | RESTINIO_GEN | ) |
HTTP methods mapping with nodejs http methods.
Definition at line 1652 of file http_headers.hpp.