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 nameTypeDescriptionGet/Set
connected
boolean
Always returns trueGet
host
string
Kuzzle server hostGet
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 portGet
protocol
string
https or httpGet
ssl
boolean
true if ssl is activeGet
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.