Which method is used to close the WebSocket?

Which method is used to close the WebSocket? Correct Answer Socket.close()

The Socket.close() is used to close the WebSocket. The Close method closes the remote host connection and releases all managed and unmanaged resources associated with the Socket. WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.

Related Questions

Which of the following is not a WebSocket event?
How does the client and the server communicate following the rules defined by the WebSocket protocol?
Which of the following statements is correct for a system with gain margin close to unity or a phase margin close to zero ?
The meeting came to close here the word 'close' is.
According to which method of pricing issues is close to current economic values?
What is the syntax of close method for document object?
which of the following is used for close a tab on a browser?
Which option is used in Tally to close opened Company