property
WebSocket.readyState
readonly readyState: number
Returns the state of the WebSocket object's connection. It can have the values described below.
property
Returns the state of the WebSocket object's connection. It can have the values described below.