Ejemplo n.º 1
0
        // New connection
        public async override Task OnConnected()
        {
            if (Context.User.Identity.IsAuthenticated)
            {
                _userConnectionStorage.AddConnection(Context.User.GetCurrentUserCreads().Id, Context.ConnectionId);

                await base.OnConnected();
            }
        }