IHubPipeline Interface
Visual Studio 2010
.NET Framework 4 Namespace:
Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Top
Top
A collection of modules that can intercept and customize various stages of hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking client-side hub methods, authorizing hub clients and rejoining hub groups.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
The IHubPipeline type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AddModule | Adds an IHubPipelineModule to the hub pipeline. Modules added to the pipeline first will wrap modules that are added to the pipeline later. All modules must be added to the pipeline before any methods on the IHubPipelineInvoker are invoked. |
| Name | Description | |
|---|---|---|
![]() | RequireAuthentication | Requiring Authentication adds an AuthorizeModule to the IHubPipeline with IAuthorizeHubConnection and IAuthorizeHubMethodInvocation authorizers that will be applied globally to all hubs and hub methods. These authorizers require that the IPrincipal's IIdentity IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations. (Defined by HubPipelineExtensions.) |
Show:
