Class WebSocketCloseEventArgs
- Namespace
- DSharpPlus.Lavalink.EventArgs
- Assembly
- DSharpPlus.Lavalink.dll
Represents arguments for DiscordWebSocketClosed event.
public sealed class WebSocketCloseEventArgs : AsyncEventArgs
- Inheritance
-
objectEventArgsWebSocketCloseEventArgs
Properties
- Code
Gets the WebSocket close code.
- Reason
Gets the WebSocket close reason.
- Remote
Gets whether the termination was initiated by the remote party (i.e. Discord).