Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for knowing remaining limit #41

Open
srijanmehrotra opened this issue Jul 22, 2020 · 0 comments
Open

Support for knowing remaining limit #41

srijanmehrotra opened this issue Jul 22, 2020 · 0 comments

Comments

@srijanmehrotra
Copy link

There are scenarios where the client is interested in knowing the remaining limit. This information is usually passed back to client as part of response headers.
Can we add a method like
long getRemainingLimitInCurrentWindow(String key) in es.moki.ratelimitj.core.limiter.request.RequestRateLimiter
This will definitely help in utilising this library in web filters.
Please advise I am interested in taking this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant