C# Класс Microsoft.AspNetCore.SignalR.Hub

Provides methods that communicate with SignalR connections that connected to a Hub.
Наследование: IHub
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
Hub ( ) : System.Threading.Tasks

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Hub() защищенный Метод

protected Hub ( ) : System.Threading.Tasks
Результат System.Threading.Tasks

OnConnected() публичный Метод

Called when the connection connects to this hub instance.
public OnConnected ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

OnDisconnected() публичный Метод

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. ///
Результат System.Threading.Tasks.Task

OnReconnected() публичный Метод

Called when the connection reconnects to this hub instance.
public OnReconnected ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task