Microsoft.AspNetCore.SignalR.Hubs.HubPipelineModule.BuildRejoiningGroups C# (CSharp) Method

BuildRejoiningGroups() public method

Wraps a function that determines which of the groups belonging to the hub described by the HubDescriptor the client should be allowed to rejoin. By default, clients will rejoin all the groups they were in prior to reconnecting.
public BuildRejoiningGroups ( Func rejoiningGroups ) : Func,IList>
rejoiningGroups Func A function that determines which groups the client should be allowed to rejoin.
return Func,IList>
        public virtual Func<HubDescriptor, HttpRequest, IList<string>, IList<string>> BuildRejoiningGroups(Func<HubDescriptor, HttpRequest, IList<string>, IList<string>> rejoiningGroups)
        {
            return rejoiningGroups;
        }