Skip to main content
Corvus Connection

OnConnectionRestored

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.OnConnectionRestoredAttributeMarks a method as a handler fired when a monitored connection that was Lost auto-reconnects (spec 023); e.Downtime carries how long it was interrupted. Never fires for gateway (a reconnecting client is a fresh OnConnectionUp — strict matrix). Fires for every other applicable source; read e.Source to branch. The method must accept (IScriptContext, ConnectionHealthContext). See OnChatMessageAttribute for the supported return types.