Module limit

Source
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§

concurrency
Limit the max number of requests being concurrently processed.
rate
Limit the rate at which requests are processed.