PersistentConnection.OnRejoiningGroups Method

.NET Framework 4.5

Called when a connection reconnects after a timeout to determine which groups should be rejoined.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

protected virtual IList<string> OnRejoiningGroups(
	IRequest request,
	IList<string> groups,
	string connectionId
)

Parameters

request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.
groups
Type: System.Collections.Generic.IList<String>
The groups the calling connection claims to be part of.
connectionId
Type: System.String
The ID of the reconnecting client.

Return Value

Type: System.Collections.Generic.IList<String>
A collection of group names that should be joined on reconnect.
Show: