ConnectionState

Used to indicate the state of a connection throughout its lifecycle.

Values

ValueMeaning
disconnected

The initial state, or the state after a disconnect was fully processed.

resolving

Name resolution. Currently done synchronously.

connecting

A connection attempt is in progress.

connected

A connection is established.

disconnecting

Disconnecting in progress. No data can be sent or received at this point. We are waiting for queued data to be actually sent before disconnecting.

Meta