Q. Which method is used to close the WebSocket? (A) Socket.flush() (B) Socket.close() (C) Socket.Close() (D) Socket.dispose() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) Socket.close() Explanation: The Socket.close() is used to close the WebSocket.