C# Class SignalR.Hubs.Hub

Provides methods that communicate with SignalR connections that connected to a Hub.
Inheritance: IHub, IConnected, IDisconnect
Afficher le fichier Open project: Icenium/SignalR

Méthodes publiques

Méthode Description
Connect ( ) : System.Threading.Tasks.Task

Called when the connection connects to this hub instance.

Disconnect ( ) : System.Threading.Tasks.Task

Called when a connection disconnects from this hub instance.

Reconnect ( IEnumerable groups ) : System.Threading.Tasks.Task

Called when the connection reconnects to this hub instance.

RejoiningGroups ( IEnumerable groups ) : IEnumerable

Called before a connection completes reconnecting to this IHub instance.

Méthodes protégées

Méthode Description
Hub ( ) : System.Collections.Generic

Method Details

Connect() public méthode

Called when the connection connects to this hub instance.
public Connect ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Disconnect() public méthode

Called when a connection disconnects from this hub instance.
public Disconnect ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Hub() protected méthode

protected Hub ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Reconnect() public méthode

Called when the connection reconnects to this hub instance.
public Reconnect ( IEnumerable groups ) : System.Threading.Tasks.Task
groups IEnumerable The groups that the client was subscribed to
Résultat System.Threading.Tasks.Task

RejoiningGroups() public méthode

Called before a connection completes reconnecting to this IHub instance.
public RejoiningGroups ( IEnumerable groups ) : IEnumerable
groups IEnumerable The groups the reconnecting client claims to be a member of.
Résultat IEnumerable