IHubPipelineInvoker Methods

Include Protected Members
Include Inherited Members

.NET Framework 4

The IHubPipelineInvoker type exposes the following members.

Methods

  Name Description
Public method AuthorizeConnect To be called before a client subscribes to signals belonging to the hub described by the HubDescriptor . By default, the AuthorizeModule will look for attributes on the IHub to help determine if the client is authorized to subscribe to method invocations for the described hub.
Public method Connect To be called when a client connects to the HubDispatcher for each IHub the client connects to. By default, this results in the IHub 's OnConnected method being invoked.
Public method Disconnect To be called when a client disconnects from the HubDispatcher for each IHub the client was connected to. By default, this results in the IHub 's OnDisconnected method being invoked.
Public method Invoke Invokes a server-side hub method.
Public method Reconnect To be called when a client reconnects to the HubDispatcher for each IHub the client connects to. By default, this results in the IHub 's OnReconnected method being invoked.
Public method RejoiningGroups This method determines which of the groups belonging to the hub described by the HubDescriptor the client should be allowed to rejoin. By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, because untrusted clients may claim to be a member of groups they were never authorized to join.
Public method Send Invokes a client-side hub method.

Top

See Also

Reference

IHubPipelineInvoker Interface

Microsoft.AspNet.SignalR.Hubs Namespace