closeConnection method
Closes the connection. Deprecated: use disconnect()
instead.
Implementation
@Deprecated('Use disconnect() instead.')
Future<dynamic> closeConnection() {
log('Closing socket for host ${serverInfo.host}',
initial: ClientBase.initialApp);
return disconnect();
}