SDK
SDK Javascript v6.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.

Properties #

Property name Type Description Get/Set
connected
boolean
Always returns true Get
host
string
Kuzzle server host Get
http
object
Returns a list of available routes
Deprecated since 6.2.0
Get
routes
object
Returns a list of available routes
Available since 6.2.0
Get
port
number
Kuzzle server port Get
protocol
string
https or http Get
ssl
boolean
true if ssl is active Get
timeout
number
Connection timeout in milliseconds
Available since 6.2.1
Get/Set

Note:

A timeout of 0 means that the connection will never timeout.