isConnected

abstract suspend fun isConnected(): Boolean

Checks if the socket is connected.

Return

True if the socket is connected, false otherwise.