C# Class Microsoft.AspNetCore.SignalR.Hub

Provides methods that communicate with SignalR connections that connected to a Hub.
Inheritance: IHub
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Méthodes publiques

Méthode Description
Dispose ( ) : void
OnConnected ( ) : System.Threading.Tasks.Task

Called when the connection connects to this hub instance.

OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task

Called when a connection disconnects from this hub gracefully or due to a timeout.

OnReconnected ( ) : System.Threading.Tasks.Task

Called when the connection reconnects to this hub instance.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
Hub ( ) : System.Threading.Tasks

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Hub() protected méthode

protected Hub ( ) : System.Threading.Tasks
Résultat System.Threading.Tasks

OnConnected() public méthode

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

OnDisconnected() public méthode

Called when a connection disconnects from this hub gracefully or due to a timeout.
public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task
stopCalled bool /// true, if stop was called on the client closing the connection gracefully; /// false, if the connection has been lost for longer than the /// . /// Timeouts can be caused by clients reconnecting to another SignalR server in scaleout. ///
Résultat System.Threading.Tasks.Task

OnReconnected() public méthode

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