|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
HTTP server class. More...
#include <idfxx/cpu>#include <idfxx/error>#include <idfxx/http/types>#include <chrono>#include <cstdint>#include <functional>#include <list>#include <optional>#include <span>#include <string>#include <string_view>#include <system_error>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | idfxx::http::request |
| Non-owning view of an HTTP request. More... | |
| class | idfxx::http::server |
| HTTP server with URI handler registration and RAII lifecycle. More... | |
| class | idfxx::http::server::error_category |
| Error category for HTTP server errors. More... | |
| struct | idfxx::http::server::config |
| HTTP server configuration. More... | |
Namespaces | |
| namespace | idfxx |
| namespace | idfxx::http |
Typedefs | |
| typedef void * | httpd_handle_t |
| typedef struct httpd_req | httpd_req_t |
| typedef int | esp_err_t |
Functions | |
| const server::error_category & | idfxx::http::http_server_category () noexcept |
| Returns a reference to the HTTP server error category singleton. | |
| std::error_code | idfxx::http::make_error_code (server::errc e) noexcept |
| Creates an error code from an idfxx::http::server::errc value. | |
| std::unexpected< std::error_code > | idfxx::http::http_server_error (esp_err_t e) |
| Creates an unexpected error from an ESP-IDF error code, mapping to HTTP server error codes where possible. | |
HTTP server class.
Definition in file server.hpp.