Q. Which method is used to close the WebSocket?

  • (A) Socket.flush()
  • (B) Socket.close()
  • (C) Socket.Close()
  • (D) Socket.dispose()
πŸ’¬ Discuss
βœ… Correct Answer: (B) Socket.close()
Explanation: The Socket.close() is used to close the WebSocket.
Explanation by: Mr. Dubey
The Socket.close() is used to close the WebSocket.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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