#include <string>#include <functional>#include <chrono>#include <memory>#include <utility>#include <regex>#include <vector>#include <cassert>#include "native.h"#include <asio.hpp>#include <absl/hash/hash.h>#include <absl/container/flat_hash_map.h>#include "http.hpp"#include "route_arg.hpp"#include "route_key.hpp"Go to the source code of this file.
Classes | |
| class | dcn::server::RouteHandlerFunc |
| A class representing a route handler function. More... | |
| class | dcn::server::Router |
| A class representing a router for handling HTTP requests. More... | |
Namespaces | |
| namespace | dcn |
| namespace | dcn::server |
Typedefs | |
| using | dcn::server::QueryArgsList = absl::flat_hash_map< std::string, RouteArg > |
| using | dcn::server::StreamingHandlerDefinition = std::function< asio::awaitable< void >(asio::ip::tcp::socket &, const dcn::http::Request &, std::vector< RouteArg >, QueryArgsList, std::chrono::steady_clock::time_point &)> |
| Streaming handler signature. | |