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

Expose request counters to the client. #57

Open
blkt opened this issue Nov 25, 2024 · 0 comments
Open

Expose request counters to the client. #57

blkt opened this issue Nov 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@blkt
Copy link
Contributor

blkt commented Nov 25, 2024

Trusty API expose the following counters as headers, but they're not currently available to the library user

x-ratelimit-limit: 480, 480;w=3600
x-ratelimit-remaining: 479
x-ratelimit-reset: 2879

Make them available as part of an envelope-type around actual results.

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

No branches or pull requests

1 participant