parseUsageLimitBody
function parseUsageLimitBody(bodyText, now?): RateLimitReset;Defined in: core/src/rate-limit.ts:412
Read a usage deadline, RetryInfo field or wait stated in the provider’s own message.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
bodyText |
string |
now |
number |