Parses the x-ratelimit-limit, x-ratelimit-remaining, and
x-ratelimit-reset response headers into a RateLimitInfo.
Returns undefined unless all three values are present and finite, so a
partial or malformed header set reads as no rate-limit information
rather than half-accounted quota.
Parses the
x-ratelimit-limit,x-ratelimit-remaining, andx-ratelimit-resetresponse headers into a RateLimitInfo.Returns
undefinedunless all three values are present and finite, so a partial or malformed header set reads as no rate-limit information rather than half-accounted quota.