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 #
String connect()
Return #
A String
with the error message or null
if connection is made successfully.
Usage #
try {
kuzzle.connect();
System.out.println("Successfully connected");
} catch(KuzzleException e) {
System.err.println(e.getMessage());
}
Edit this page on Github(opens new window)