Table of Contents

Method DisconnectAsync

Namespace
DisCatSharp.Net.WebSocket
Assembly
DisCatSharp.dll

DisconnectAsync(int, string)

Disconnects the WebSocket connection.

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

Parameters

code int

The code.

message string

The message.

Returns

Task