Whether to allow requests to use the cache
This is overridden by RequestOptions.allowCache.
Whether to allow request stacking in raw API calls
This is overridden by RawRequestOptions.allowStacking.
The API keys being used
The amount of times a request should be retried on error
This is overridden by RequestOptions.retries.
The amount of milliseconds a until a request should be rejected
This is overridden by RequestOptions.timeout.
The maximum amount of queued requests before new requests are rejected with an error
Whether to reuse JSON objects returned by the fetchRaw() function instead of regenerating them every time they are drawn from cache
Disabling this hurts performance, but hardens the code against bugs due to downstream code modifying API responses in the cache.
Information on all supported routes
Whether to try and mitigate the difference between the timestamps returned by the API and the local system time. This affects the timestamps in the responses and cache control
If your system time is very accurate (1 second desync or less) you should disable this. Otherwise you should keep it enabled.
Whether exceeding the ratelimit should throw an error, or whether the request should be retried after the ratelimit reset
Generated using TypeDoc
The configuration of the library