Table of Contents

Delegate OnCloseEvent

Namespace
DiscordRPC.Events
Assembly
DiscordRPC.dll

Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again.

public delegate void OnCloseEvent(object sender, CloseMessage args)

Parameters

sender object

The Discord client handler that sent this event

args CloseMessage

The arguments supplied with the event