Safe Haskell | None |
---|---|
Language | Haskell2010 |
Implements WAI Middleware
for rate limiting.
Synopsis
- rateLimiting :: Strategy -> Middleware
Documentation
rateLimiting :: Strategy -> Middleware Source #
rateLimiting
strategy
is a WAI Middleware
which limits requests
according to the configuration represented by strategy
.