IHubPipelineInvoker::RejoiningGroups Method

.NET Framework 4.5

This method determines which of the groups belonging to the hub described by the HubDescriptor the client should be allowed to rejoin. By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, because untrusted clients may claim to be a member of groups they were never authorized to join.

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

IList<String^>^ RejoiningGroups(
	HubDescriptor^ hubDescriptor, 
	IRequest^ request, 
	IList<String^>^ groups
)

Parameters

hubDescriptor
Type: Microsoft.AspNet.SignalR.Hubs::HubDescriptor
A description of the hub for which the client is attempting to rejoin groups.
request
Type: Microsoft.AspNet.SignalR::IRequest
The reconnect request being made by the client that is attempting to rejoin groups.
groups
Type: System.Collections.Generic::IList<String>
The list of groups belonging to the relevant hub that the client claims to have been a member of before the reconnect.

Return Value

Type: System.Collections.Generic::IList<String>
A list of groups the client is allowed to rejoin.
Show: