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