readyState method
Implementation
int readyState() {
parse_web_socket.WebSocket? webSocket = _webSocket;
if (webSocket != null) {
return webSocket.readyState;
}
return parse_web_socket.WebSocket.connecting;
}
int readyState() {
parse_web_socket.WebSocket? webSocket = _webSocket;
if (webSocket != null) {
return webSocket.readyState;
}
return parse_web_socket.WebSocket.connecting;
}