Files
brk/modules/brk-client/docs/interfaces/BrkClientOptions.md
2026-01-25 14:12:03 +01:00

40 lines
1.2 KiB
Markdown

[**brk-client**](../README.md)
***
[brk-client](../globals.md) / BrkClientOptions
# Interface: BrkClientOptions
Defined in: [Developer/brk/modules/brk-client/index.js:804](https://github.com/bitcoinresearchkit/brk/blob/79f7e89740d35d2bbc56505cbbcf3e6a4fe4a0f3/modules/brk-client/index.js#L804)
## Properties
### baseUrl
> **baseUrl**: `string`
Defined in: [Developer/brk/modules/brk-client/index.js:805](https://github.com/bitcoinresearchkit/brk/blob/79f7e89740d35d2bbc56505cbbcf3e6a4fe4a0f3/modules/brk-client/index.js#L805)
Base URL for the API
***
### cache?
> `optional` **cache**: `string` \| `boolean`
Defined in: [Developer/brk/modules/brk-client/index.js:807](https://github.com/bitcoinresearchkit/brk/blob/79f7e89740d35d2bbc56505cbbcf3e6a4fe4a0f3/modules/brk-client/index.js#L807)
Enable browser cache with default name (true), custom name (string), or disable (false). No effect in Node.js. Default: true
***
### timeout?
> `optional` **timeout**: `number`
Defined in: [Developer/brk/modules/brk-client/index.js:806](https://github.com/bitcoinresearchkit/brk/blob/79f7e89740d35d2bbc56505cbbcf3e6a4fe4a0f3/modules/brk-client/index.js#L806)
Request timeout in milliseconds