Lifecycle states for the underlying socket.io connection, delivered to subscribers of Salt.subscribeToSocketConnectionState.
Salt.subscribeToSocketConnectionState
connected
disconnected
reason
reconnecting
attempt
1
reconnect_failed
auth_error
refreshAuthToken
Lifecycle states for the underlying socket.io connection, delivered to subscribers of
Salt.subscribeToSocketConnectionState.connected— handshaked, either initially or after a reconnect.disconnected— dropped;reasonis socket.io's own reason string.reconnecting— socket.io retrying on its own;attemptcounts from1.reconnect_failed— socket.io gave up retrying.auth_error— the relay rejected the JWT. IfrefreshAuthTokenwas configured, a refresh + reconnect is already underway.