Connections

When you instantiate a client, a realtime connection is established and maintained with Ably. You can interact with the connection using the ChatClient.connection object in order to monitor a client's connection status.

Connection statuses

A connection can have any of the following statuses:

StatusDescription
initialized