Type Alias: ConnectionConfig
ConnectionConfig:
object
Type declaration
reconnectConfig?
optional
reconnectConfig:object
Configuration for automatic reconnection sdk uses a linear backoff algorithm, that is the formula for the delay of the nth attempt is n * delayMs + initialDelayMs
Pass 0 for maxAttempts to disable automatic reconnection
reconnectConfig.delayMs?
optional
delayMs:number
reconnectConfig.initialDelayMs?
optional
initialDelayMs:number
reconnectConfig.maxAttempts?
optional
maxAttempts:number