SDK
SDK Java v2.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.

connect #

Connects to Kuzzle using the host parameter provided in the constructor. Has no effect if connect is set to auto, unless disconnect has been called first.


Return value #

Returns the Kuzzle object to allow chaining.


Callback Response #

If a callback has been provided to the Kuzzle constructor, it will be called with the Kuzzle instance once connected to Kuzzle

Usage #

kuzzle.connect();