HubPipelineModule::BuildConnect Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
A wrapped function to be called when a client connects to a hub.
Wraps a function that is 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.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Parameters
- connect
- Type: System::Func<IHub, Task>
A function to be called when a client connects to a hub.
Return Value
Type: System::Func<IHub, Task>A wrapped function to be called when a client connects to a hub.
Implements
IHubPipelineModule::BuildConnect(Func<IHub, Task>)
Show: