The state of the WebSocket connection.
const static ReadyState closed := ...
The connection has been closed or could not be opened.
const static ReadyState closing := ...
The connection is going through the closing handshake.
const static ReadyState connecting := ...
The connection has not yet been established.
Return the ReadyState instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
const static ReadyState open := ...
The WebSocket connection is established and communication is possible.
const static ReadyState vals := ...
List of ReadyState values indexed by ordinal