Microsoft.AspNetCore.SignalR.PersistentConnection.OnConnected C# (CSharp) Method

OnConnected() protected method

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