ClientOptions
Defined in: types.ts:57
Properties
Section titled “Properties”batch?
Section titled “batch?”
optionalbatch?:boolean|BatchOptions
Defined in: types.ts:71
Coalesce service calls made within the same window into one POST /batch
request (the server’s batch endpoint must be enabled — it is by default).
Calls carrying per-request headers bypass coalescing.
Default
Section titled “Default”falseheaders?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: types.ts:65
Default headers appended to every REST request.
socket?
Section titled “socket?”
optionalsocket?:SocketOptions
Defined in: types.ts:63
Socket.io connection options. Omit to disable real-time features.
storage?
Section titled “storage?”
optionalstorage?:TokenStorage
Defined in: types.ts:61
Token storage. Default: localStorage when available, otherwise in-memory.
url:
string
Defined in: types.ts:59
Base URL of the Mantle server, e.g. "http://localhost:3030". Required.