Skip to content

Interface: IndiProviderProps

Props for IndiProvider.

Extends

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.

Inherited from

IndiClientOptions.autoGetProperties


children

children: ReactNode


client?

optional client?: IndiClient

An existing client to use; overrides the inline connection options.


messageLogLimit?

optional messageLogLimit?: number

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

Inherited from

IndiClientOptions.messageLogLimit


reconnectDelay?

optional reconnectDelay?: number

Milliseconds between a lost connection and the next attempt.

Inherited from

IndiClientOptions.reconnectDelay


url?

optional url?: string

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

Inherited from

IndiClientOptions.url


webSocketFactory?

optional webSocketFactory?: WebSocketFactory

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

Inherited from

IndiClientOptions.webSocketFactory