Closes the MessageWebSocket object.
| Name | Description |
|---|---|
| MessageWebSocket.Close () | Closes the MessageWebSocket object and sends an empty close frame to the server. |
| MessageWebSocket.Close (UInt16, String) | Closes the MessageWebSocket object and indicates a reason for the closure. |
Use Close(UInt16, String) to provide a reason for the closure.