Interface: IndiProviderProps¶
Props for IndiProvider.
Extends¶
Properties¶
autoGetProperties?¶
optionalautoGetProperties?: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?¶
optionalclient?:IndiClient
An existing client to use; overrides the inline connection options.
messageLogLimit?¶
optionalmessageLogLimit?:number
Maximum inbound message notifications retained in IndiClient.messages
(oldest dropped first).
Inherited from¶
IndiClientOptions.messageLogLimit
reconnectDelay?¶
optionalreconnectDelay?:number
Milliseconds between a lost connection and the next attempt.
Inherited from¶
IndiClientOptions.reconnectDelay
url?¶
optionalurl?:string
The bridge WebSocket URL; defaults to ws(s)://<host>/ws from location.
Inherited from¶
webSocketFactory?¶
optionalwebSocketFactory?:WebSocketFactory
Socket factory; defaults to the global WebSocket (injectable for tests).