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

Change overLimitWhenIncremented to return an object with limiting information instead of Boolean #55

Open
tandel-pratik opened this issue Jun 23, 2021 · 0 comments

Comments

@tandel-pratik
Copy link

tandel-pratik commented Jun 23, 2021

Context

Often many APIs that use rate limiting return the number of remaining calls using headers like X-RateLimit-Remaining. It would be ideal for the interfaces to return an object that contains additional information like number of calls remaining and when the limit will be reset. This makes it easier for clients to deal with the rate limits in a better way.

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