public override Task OnReconnected() { var connection = LkHubConnection.Create(Context.ConnectionId, Context.User.Identity.Name); Connections.AddIfNotExists(Context.ConnectionId, connection); return(base.OnReconnected()); }
public override Task OnConnected() { Connections.Add(Context.ConnectionId, LkHubConnection.Create(Context.ConnectionId, Context.User.Identity.Name)); SendAssets(); return(base.OnConnected()); }