|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
#include <orbit/legacy_namespaces.hpp>#include <string>#include <unordered_map>#include <mutex>#include <chrono>#include <functional>#include <memory>#include <orbit/http/HttpRequest.hpp>#include <orbit/http/ResponseWriter.hpp>

Go to the source code of this file.
Classes | |
| struct | orbit::middleware::RateLimitOptions |
| Settings for the in-memory rate limiter. More... | |
| class | orbit::middleware::RateLimiter |
| Token-bucket rate limiter keyed by client. More... | |
| struct | orbit::middleware::RateLimiter::Bucket |
Namespaces | |
| namespace | orbit |
| namespace | orbit::middleware |
Functions | |
| auto | orbit::middleware::rate_limit (RateLimitOptions options) |
| auto | orbit::middleware::rate_limit (size_t max_requests, std::chrono::seconds window) |