@oona/vlo / host / ClientOptions
Interface: ClientOptions
Defined in: sdk/ts/sdk/src/client/index.ts:15
How to reach a host.
Properties
baseUrl?
optionalbaseUrl?: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?
optionalfetch?:ClientFetch
Defined in: sdk/ts/sdk/src/client/index.ts:21
Transport. Default globalThis.fetch; pass host.fetch to skip the socket.
token?
optionaltoken?:string
Defined in: sdk/ts/sdk/src/client/index.ts:19
Bearer token for the control plane, when the host has one.