SDK
SDK Golang v3.x
2

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