Interface: RineClientOptions¶
Defined in: rine-ts-sdk/src/client.ts:86
Properties¶
| Property | Type | Description | Defined in |
|---|---|---|---|
agent? |
string |
Agent handle or UUID, sent as X-Rine-Agent verbatim (no bare names). |
rine-ts-sdk/src/client.ts:90 |
apiUrl? |
string |
- | rine-ts-sdk/src/client.ts:88 |
configDir? |
string |
- | rine-ts-sdk/src/client.ts:87 |
maxRetries? |
number |
Max retries on 429. Default: 2. | rine-ts-sdk/src/client.ts:94 |
middleware? |
readonly RineMiddleware[] |
User middleware chain. Composed once at construction and wrapped around every SDK HTTP call. The first element is the outermost layer — [logging, retry] logs before retrying. Scope boundary: middleware does NOT wrap SSE streams (client.stream, client.messages) or crypto-path HTTP calls. |
rine-ts-sdk/src/client.ts:105 |
signal? |
AbortSignal |
Global AbortSignal for all requests. | rine-ts-sdk/src/client.ts:96 |
timeout? |
number |
Request timeout in ms. Default: 30_000. | rine-ts-sdk/src/client.ts:92 |