Expand description
Tower middleware for limiting requests.
Re-exports§
pub use self::concurrency::ConcurrencyLimit;
pub use self::concurrency::ConcurrencyLimitLayer;
pub use self::concurrency::GlobalConcurrencyLimitLayer;
pub use self::rate::RateLimit;
pub use self::rate::RateLimitLayer;
Modules§
- Limit the max number of requests being concurrently processed.
- Limit the rate at which requests are processed.