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.