parseRateLimitResponse
function parseRateLimitResponse( headers, bodyText, now?): RateLimitReset;Defined in: core/src/rate-limit.ts:364
Read both places an endpoint can report its reset. A short Retry-After is not evidence that a longer subscription window has lifted.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
headers |
Headers |
bodyText |
string |
now |
number |