Microsoft.AspNetCore.SignalR.Hubs.HubPipelineModule.OnBeforeConnect C# (CSharp) Méthode

OnBeforeConnect() protected méthode

This method is called before the connect components of any modules added later to the IHubPipeline are executed. If this returns false, then those later-added modules and the IHub.OnConnected method will not be run.
protected OnBeforeConnect ( IHub hub ) : bool
hub IHub The hub the client has connected to.
Résultat bool
        protected virtual bool OnBeforeConnect(IHub hub)
        {
            return true;
        }