-
I think we should implement a Rate Limiter Middleware class, which can be customized easily if need. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi! Thanks for starting a discussion. Can you explain a bit more about what kind of rate limiting you're looking for, what kind of customization you'd want, and why it belongs in Starlette itself instead of a separate library? |
Beta Was this translation helpful? Give feedback.
-
You can use asgi-ratelimit. Also, since latest releases, we support |
Beta Was this translation helpful? Give feedback.
You can use asgi-ratelimit.
Also, since latest releases, we support
middleware
parameter inRoute(middleware=)
, so it's easy to be as granular as you want.