Optional
httpBaseUrl?: stringOptional base URL for the non-streaming endpoints of the JSON API. If this parameter is not
provided, the protocol, host and port of the window.location
object are used.
Optional
multiplexQueryStreams?: booleanOptional to enable/disable feature of all streaming request to the query endpoint being multiplexed through a single web socket, is enabled by default.
Optional
reconnectThreshold?: numberOptional number of milliseconds a connection has to be live to be considered healthy. If the
connection is closed after being live for at least this amount of time, the Ledger
tries to
reconnect, else not.
JSON web token used for authentication.
Optional
wsBaseUrl?: stringOptional base URL for the streaming endpoints of the JSON API. If this parameter is not
provided, the base URL for the non-streaming endpoints is used with the protocol 'http' or
'https' replaced by 'ws' or 'wss', respectively. Specifying this parameter explicitly can be
useful when the non-streaming requests are proxied but the streaming request cannot be proxied,
as it is the case with the development server of create-react-app
.
Options for creating a handle to a Daml ledger.