Table of Contents

Method DisconnectAsync

Namespace
DSharpPlus.Net.WebSocket
Assembly
DSharpPlus.dll

DisconnectAsync(int, string)

Disconnects the WebSocket connection.

Task DisconnectAsync(int code = 1000, string message = "")

Parameters

code int
message string

Returns

Task