Skip to content

Interface: RequestConfig ​

Properties ​

PropertyTypeDescription
cacheTtlMs?numberoverride the cache TTL for this call
headers?Record<string, string>additional custom headers for this request
maxRetries?numbermax retry attempts on 429/5xx default: 2
signal?AbortSignalabort signal to cancel the request
skipCache?booleanbypass the cache for this call even if caching is enabled
timeoutMs?numberabort the request if it takes longer than this default: 10000ms

Distributed under the MIT License.