You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to track response status and headers to control rate limits and didn't find the way to get it.
There is only getRateLimitStates() which is quite not enough to work with rate limits. For example I need retry-after and statusCode definitely
Many thanks!
The text was updated successfully, but these errors were encountered:
I found retry-after in headers in error object. This issue can be closed!
Interesting, what would make this more intuitive? Adding retry-after tracking to the getRateLimitStates()? Would love to hear thoughts on making this easier, since you're the first to talk about working with rate limits.
I need to track response status and headers to control rate limits and didn't find the way to get it.
There is only
getRateLimitStates()
which is quite not enough to work with rate limits. For example I needretry-after
andstatusCode
definitelyMany thanks!
The text was updated successfully, but these errors were encountered: