Method DisconnectAsync
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
DisconnectAsync(WebSocketCloseStatus)
Disconnects from the gateway.
ValueTask DisconnectAsync(WebSocketCloseStatus closeStatus)
Parameters
closeStatus
WebSocketCloseStatusThe status message to send to the Discord gateway.