Skip to main content
WebSocket.readyState - WebSockets - Web documentation
property WebSocket.readyState
Private

Returns the state of the WebSocket object's connection. It can have the values described below.

Type

number
Back to top