#include <string>
#include <vector>
#include <unordered_map>
#include <optional>
#include <functional>
#include <regex>
Go to the source code of this file.
Classes | |
struct | RouteMatch |
Represents a match of a route against an incoming HTTP request. More... | |
struct | Route |
Represents a single HTTP route. More... | |
Typedefs | |
using | RouteHandler = std::function< void(HttpRequest &, HttpResponse &, const RouteMatch &)> |
Type definitions for route handlers and middleware. | |
using | Middleware = std::function< bool(HttpRequest &, HttpResponse &, const RouteMatch &)> |
using Middleware = std::function<bool(HttpRequest&, HttpResponse&, const RouteMatch&)> |
Definition at line 33 of file RouteTypes.h.
using RouteHandler = std::function<void(HttpRequest&, HttpResponse&, const RouteMatch&)> |
Definition at line 32 of file RouteTypes.h.