Method DisconnectAsync
- Namespace
- DisCatSharp.Net.WebSocket
- Assembly
- DisCatSharp.dll
DisconnectAsync(int, string)
Disconnects the WebSocket connection.
Task DisconnectAsync(int code = 1000, string message = "")
Disconnects the WebSocket connection.
Task DisconnectAsync(int code = 1000, string message = "")