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 RetryAfter header handler #95

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matteoxleggieri
Copy link

Based on official API documentation here for limits, in the case of HttpStatusCode 429 or 418 the header retry-after is provided in the response headers.
The header would be very helpful in case a limit is reached to know how much time it is necessary to wait for a new request so I implemented a handler to add this header to the BinanceClientException.

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

Successfully merging this pull request may close these issues.

2 participants