Skip to content

@oona/vlo / host / ClientOptions

Interface: ClientOptions ​

Defined in: sdk/ts/sdk/src/client/index.ts:15

How to reach a host.

Properties ​

baseUrl? ​

optional baseUrl?: string

Defined in: sdk/ts/sdk/src/client/index.ts:17

Absent when fetch is a host handler: requests still need a syntactically valid URL.


fetch? ​

optional fetch?: ClientFetch

Defined in: sdk/ts/sdk/src/client/index.ts:21

Transport. Default globalThis.fetch; pass host.fetch to skip the socket.


token? ​

optional token?: string

Defined in: sdk/ts/sdk/src/client/index.ts:19

Bearer token for the control plane, when the host has one.