Q. What does the value 2 of the WebSocket attribute Socket.readyState indicate?
β
Correct Answer: (B)
Handshake connection
Explanation: The readonly attribute readyState represents the state of the connection. It can have the following values: