SDK Java v1.x

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.

connect #

Connects to Kuzzle using the host argument provided in the constructor options.
Subsequent call have no effect if the SDK is already connected.

Signature #

Copied to clipboard!
String connect()

Return #

A String with the error message or null if connection is made successfully.

Usage #

Copied to clipboard!
try {
  System.out.println("Successfully connected");
} catch(KuzzleException e) {