SDK
SDK C++ v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

This SDK has been deprecated because of stability issues. It is not advised to use it in a production environment.

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;