|
Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
|
#include <orbit/http/HttpRequest.hpp>#include <orbit/http/HttpResponse.hpp>#include <orbit/http/WebSocketConnection.hpp>#include <orbit/http/ResponseWriter.hpp>#include <orbit/openapi/OpenApi.hpp>#include <functional>#include <unordered_map>#include <unordered_set>#include <vector>#include <string>#include <memory>

Go to the source code of this file.
Classes | |
| struct | routing::DynamicRoute |
| class | routing::Router |
| Manages routing of HTTP requests to their appropriate handlers. More... | |
| class | routing::Router::RouteBuilder |
| A builder class for fluent route configuration. More... | |
Namespaces | |
| namespace | routing |
Typedefs | |
| using | routing::RouteHandler = std::function< void(http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> |
| using | routing::Middleware = std::function< bool(http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> |
| using | routing::WsHandler = std::function< void(http::websocket::WebSocketConnection &)> |
| using | routing::ErrorHandler = std::function< void(const std::exception &, http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> |