Skip to content

Implement rate limiter as a built-in middleware in Starlette #2184

Answered by Kludex
magiskboy asked this question in Ideas
Discussion options

You must be logged in to vote

You can use asgi-ratelimit.

Also, since latest releases, we support middleware parameter in Route(middleware=), so it's easy to be as granular as you want.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

Kludex
Jan 14, 2024
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants