isConnected method

bool isConnected()

Returns whether or not the client is connected to the socket connection

Implementation

bool isConnected() {
  return _connected;
}