disconnect #
Closes the current connection to Kuzzle.
The SDK is now in offline state.
A call to disconnect() will not trigger a DISCONNECTED event. This event is only triggered on unexpected disconnection.
Signature #
void disconnect() noexcept;Usage #
kuzzle->disconnect();
std::cout << "Successfully disconnected" << std::endl;