SDK
SDK Golang v3.x
2

State #

Gets the current connection state.

Signature #

State() int

Return #

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

Connecting
Disconnected
Connected
Initializing
Ready
Logged_out
Error
Offline