Files
brk/modules/brk-client/docs/interfaces/BrkClientOptions.md
T
2026-06-01 19:18:42 +02:00

1.6 KiB

brk-client


brk-client / BrkClientOptions

Interface: BrkClientOptions

Defined in: Developer/brk/modules/brk-client/index.js:1450

Properties

baseUrl

baseUrl: string

Defined in: Developer/brk/modules/brk-client/index.js:1451

Base URL for the API


browserCache?

optional browserCache?: string | boolean

Defined in: Developer/brk/modules/brk-client/index.js:1453

Enable browser Cache API with default name (true), custom name (string), or disable (false). No effect in Node.js. Default: true


memCache?

optional memCache?: number | boolean

Defined in: Developer/brk/modules/brk-client/index.js:1454

In-memory parsed-response cache size (LRU). true/undefined → 1000, false/0 → disabled. Lets 304 responses skip the JSON parse entirely. Default: 1000


timeout?

optional timeout?: number

Defined in: Developer/brk/modules/brk-client/index.js:1452

Request timeout in milliseconds