Contains ConnectionState change information emitted by the ConnectionBase object.

Hierarchy

  • ConnectionStateChange

Properties

current: ConnectionState

The new ConnectionState.

previous: ConnectionState

The previous ConnectionState. For the UPDATE event, this is equal to the current ConnectionState.

reason?: Types.ErrorInfo

An ErrorInfo object containing any information relating to the transition.

retryIn?: number

Duration in milliseconds, after which the client retries a connection where applicable.

Generated using TypeDoc