πŸ“Š JavaScript
Q. What does the value 2 of the WebSocket attribute Socket.readyState indicate?
  • (A) Closed connection
  • (B) Handshake connection
  • (C) Unestablished connection
  • (D) Established connection and communication is possible
πŸ’¬ Discuss
βœ… Correct Answer: (B) Handshake connection

Explanation: The readonly attribute readyState represents the state of the connection. It can have the following values:

Explanation by: Mr. Dubey
The readonly attribute readyState represents the state of the connection. It can have the following values:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
175
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate