SDK
SDK Javascript v5.x
1

# 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

Copied to clipboard!
kuzzle.connect();