Sorry for the incovenience caused, we will soon update our documentation. Here is the defination of states
public static class WarpConnectionState
{
public const byte DISCONNECTED = 0;
public const byte CONNECTING = 1;
public const byte CONNECTED = 2;
public const byte DISCONNECTING = 3;
public const byte RECOVERING = 4;
}
Connection state represents the current connection status of your warpclient. For example when you connect to warpclient, the state is connecting and when it successfully gets connected the state becomes connected, similarly when you are disconnected, the state is disconnected.