Export (0) Print
Expand All

HubPipelineModule.BuildIncoming Method

.NET Framework 4.5

Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in BuildIncoming(Func<IHubIncomingInvokerContext, Task<Object>>) by not executing the invoke parameter.

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public virtual Func<IHubIncomingInvokerContext, Task<Object>> BuildIncoming(
	Func<IHubIncomingInvokerContext, Task<Object>> invoke
)

Parameters

invoke
Type: System.Func<IHubIncomingInvokerContext, Task<Object>>
A function that invokes a server-side hub method.

Return Value

Type: System.Func<IHubIncomingInvokerContext, Task<Object>>
A wrapped function that invokes a server-side hub method.

Implements

IHubPipelineModule.BuildIncoming(Func<IHubIncomingInvokerContext, Task<Object>>)
Show:
© 2015 Microsoft