mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 15:49:58 -07:00
40 lines
1.2 KiB
Markdown
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:1151](https://github.com/bitcoinresearchkit/brk/blob/41ec24c81e5075cce1fd92557af02306ad5e61c7/modules/brk-client/index.js#L1151)
|
|
|
|
## Properties
|
|
|
|
### baseUrl
|
|
|
|
> **baseUrl**: `string`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1152](https://github.com/bitcoinresearchkit/brk/blob/41ec24c81e5075cce1fd92557af02306ad5e61c7/modules/brk-client/index.js#L1152)
|
|
|
|
Base URL for the API
|
|
|
|
***
|
|
|
|
### cache?
|
|
|
|
> `optional` **cache?**: `string` \| `boolean`
|
|
|
|
Defined in: [Developer/brk/modules/brk-client/index.js:1154](https://github.com/bitcoinresearchkit/brk/blob/41ec24c81e5075cce1fd92557af02306ad5e61c7/modules/brk-client/index.js#L1154)
|
|
|
|
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:1153](https://github.com/bitcoinresearchkit/brk/blob/41ec24c81e5075cce1fd92557af02306ad5e61c7/modules/brk-client/index.js#L1153)
|
|
|
|
Request timeout in milliseconds
|