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)

public interface class IHub : IDisposable

The IHub type exposes the following members.

  NameDescription
Public propertyClientsGets or sets the clients being connected to the hub.
Public propertyContextGets or sets the information about the calling client.
Public propertyGroupsGets or sets the group manager for this hub instance.
Top

  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodOnConnectedCalled when the connection connects to this hub instance.
Public methodOnDisconnectedCalled when a connection disconnects from this hub instance.
Public methodOnReconnectedCalled when the connection reconnects to this hub instance.
Top
Show: