isConnected property

bool isConnected
getter/setter pair

Specifies whether the connection is still open.

Sending data when this is false will throw an error

Implementation

bool isConnected = true;