Table of Contents

Class ReconnectingGatewayController

Namespace
DSharpPlus.Net.Gateway
Assembly
DSharpPlus.dll

A gateway controller implementation that automatically attempts to reconnect.

public sealed class ReconnectingGatewayController : IGatewayController
Inheritance
object
ReconnectingGatewayController
Implements

Methods

HeartbeatedAsync(IGatewayClient)

Called when the gateway heartbeated correctly and got an ACK from Discord

ReconnectFailedAsync(IGatewayClient)

Called when a reconnecting attempt definitively failed and DSharpPlus can no longer reconnect on its own.

ReconnectRequestedAsync(IGatewayClient)

Called when Discord requests a reconnect. This does not imply that DSharpPlus' reconnection attempt failed.

ResumeAttemptedAsync(IGatewayClient)

Called when DSharpPlus attempts to resume a gateway session.

SessionInvalidatedAsync(IGatewayClient)

Called when a session was invalidated and DSharpPlus failed to resume or reconnect.

ZombiedAsync(IGatewayClient)

Called when the gateway connection zombies.