-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-rate-limitWork related to use of rate limit primitivesWork related to use of rate limit primitives
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I am wanting to implement rate limiting in my project and would like to be able to expose the rate limit information via headers, similar to how other actual APIs do it.
Describe the solution you'd like
Looking at the existing code, an API similar to the OnRejected
but to be called when successful could enable this. These headers could actually be applied regardless of success or otherwise.
Additional context
No response
Metadata
Metadata
Assignees
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-rate-limitWork related to use of rate limit primitivesWork related to use of rate limit primitives