enum classafWebSockets::ReadyState
sys::Obj sys::Enum afWebSockets::ReadyState
@
Js@
Serializable { simple=true }
The state of the WebSocket connection.
- closed
const static ReadyState closed := ...
The connection has been closed or could not be opened.
- closing
const static ReadyState closing := ...
The connection is going through the closing handshake.
- connecting
const static ReadyState connecting := ...
The connection has not yet been established.
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the ReadyState instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- open
const static ReadyState open := ...
The WebSocket connection is established and communication is possible.
- vals
const static ReadyState[] vals := ...
List of ReadyState values indexed by ordinal