SDK
SDK Java 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()

Usage #

kuzzle.disconnect();
System.out.println("Success");