Table of Contents

Class GatewayConnectionFrame

Namespace
DSharpPlus.Net.Gateway
Assembly
DSharpPlus.dll

Represents the outcome of running a gateway connection until it couldn't recover.

public sealed class GatewayConnectionFrame
Inheritance
GatewayConnectionFrame

Properties

CloseCode

Gets the close code received from Discord, if one occurred.

DisconnectReason

Specifies why the gateway connection closed and returned to the orchestrator.

Exception

Gets the exception, if one occurred.

ShardId

Gets the ID of the shard that terminated.