Skip to content

Interface: IndiClientOptions

Options for IndiClient.

Properties

autoGetProperties?

optional autoGetProperties?: boolean

Whether to send getProperties on every (re)connect. Off by default: the bridge primes each new socket with a full snapshot, so this is redundant unless talking to a server that does not.


messageLogLimit?

optional messageLogLimit?: number

Maximum inbound message notifications retained in IndiClient.messages (oldest dropped first).


reconnectDelay?

optional reconnectDelay?: number

Milliseconds between a lost connection and the next attempt.


url?

optional url?: string

The bridge WebSocket URL; defaults to ws(s)://<host>/ws from location.


webSocketFactory?

optional webSocketFactory?: WebSocketFactory

Socket factory; defaults to the global WebSocket (injectable for tests).