28 #ifndef MIDDLEWARE_HPP
29 #define MIDDLEWARE_HPP
Defines the HttpRequest class for handling HTTP requests: headers, method, path, query string,...
HTTP HttpResponse class for managing status, headers, body, and streaming support.
Stateless singleton class for creating and validating JWTs using HMAC-SHA256.
Middleware loggingMiddleware
Logging middleware that prints the HTTP method and path to the console.
Middleware authMiddleware
std::function< bool(HttpRequest &, HttpResponse &, const RouteMatch &)> Middleware
Function signature for middleware components.
Forward declaration for potential routing needs.
Represents an HTTP response object.
Represents a match of a route against an incoming HTTP request.