Table of Contents

Method DisconnectAsync

Namespace
DSharpPlus.Net.Gateway
Assembly
DSharpPlus.dll

DisconnectAsync(WebSocketCloseStatus)

Disconnects from the gateway.

ValueTask DisconnectAsync(WebSocketCloseStatus closeStatus)

Parameters

closeStatus WebSocketCloseStatus

The status message to send to the Discord gateway.

Returns

ValueTask