disconnect method

void disconnect()

Disconnects from Kuzzle and invalidate this instance.

Implementation

void disconnect() {
  protocol.close();
}