SDK
SDK Golang 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.

State #

Gets the current connection state.

Signature #

Copied to clipboard!
State() int

Return #

The current connection state, values can be from the State enum:

Copied to clipboard!
Connecting
Disconnected
Connected
Initializing
Ready
Logged_out
Error
Offline