Table of Contents

Method ReconnectRequestedAsync

Namespace
DSharpPlus.Net.Gateway
Assembly
DSharpPlus.dll

ReconnectRequestedAsync(IGatewayClient)

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

public Task ReconnectRequestedAsync(IGatewayClient client)

Parameters

client IGatewayClient

The gateway client reconnection was requested from.

Returns

Task