IHub Interface
.NET Framework 4.5
Provides an interface that represents the methods that communicate with SignalR connections that connected to a Hub.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
'Declaration
Public Interface IHub _
Inherits IDisposable
'Usage
Dim instance As IHub
public interface IHub : IDisposable
public interface class IHub : IDisposable
type IHub =
interface
interface IDisposable
end
public interface IHub extends IDisposable
The IHub type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Clients | Gets or sets the clients being connected to the hub. |
![]() |
Context | Gets or sets the information about the calling client. |
![]() |
Groups | Gets or sets the group manager for this hub instance. |
Top
Name | Description | |
---|---|---|
![]() |
Dispose | (Inherited from IDisposable.) |
![]() |
OnConnected | Called when the connection connects to this hub instance. |
![]() |
OnDisconnected | Called when a connection disconnects from this hub instance. |
![]() |
OnReconnected | Called when the connection reconnects to this hub instance. |
Top