Skip to content

Interface: PikaNetworkClientOptions ​

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
baseUrl?string--
batchConcurrency?numberdefault max simultaneous in-flight operations for batch() calls; individual calls are unaffected.NetworkClientOptions.batchConcurrency
cache?false | NetworkCachecustom cache backend defaults to keyv's in-memory adapter. pass false to disable caching.NetworkClientOptions.cache
defaultCacheTtlMs?numberdefault ttl for cached readsNetworkClientOptions.defaultCacheTtlMs
maxRetries?number-NetworkClientOptions.maxRetries
rateLimit?RateLimiterOptionsoverrides the default rate limiter configuration. see rate-limiter.ts for the rationale behind why defaults are conservative.NetworkClientOptions.rateLimit
timeoutMs?number-NetworkClientOptions.timeoutMs
userAgent?string-NetworkClientOptions.userAgent

Distributed under the MIT License.