SignalR.PersistentConnection.OnConnectedAsync C# (CSharp) Method

OnConnectedAsync() protected method

Called when a new connection is made.
protected OnConnectedAsync ( IRequest request, string connectionId ) : System.Threading.Tasks.Task
request IRequest The for the current connection.
connectionId string The id of the connecting client.
return System.Threading.Tasks.Task
        protected virtual Task OnConnectedAsync(IRequest request, string connectionId)
        {
            return TaskAsyncHelper.Empty;
        }