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