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

Added reset in and initial capacity to the rate limiter API #3

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

norberttech
Copy link
Member

Those two methods are required to satisfy following HTTP headers:

X-RateLimit-Reset
X-RateLimit-Limit

The first one stands for the time to reset rate limit, second represents initial capacity.

@norberttech norberttech merged commit 498bffb into aeon-php:1.x Nov 24, 2020
@norberttech norberttech deleted the feature/reset-in branch November 24, 2020 08:36
@norberttech norberttech added this to the 0.2.0 milestone Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant