getReadyState

abstract fun getReadyState(): ReadyState

获取WebSocket的连接状态;更多详细状态可参见:ReadyState

Return

ReadyState