Method OnConnectedAsync
OnConnectedAsync(HubLifetimeContext, Func<HubLifetimeContext, Task>)
Allows handling of the OnConnectedAsync() method.
Declaration
public Task OnConnectedAsync(HubLifetimeContext context, Func<HubLifetimeContext, Task> next)
Parameters
| Type | Name | Description |
|---|---|---|
| HubLifetimeContext | context | The context for OnConnectedAsync. |
| Func<HubLifetimeContext, Task> | next | The next filter to run, and for the final one, the Hub invocation. |
Returns
| Type | Description |
|---|---|
| Task |