예제 #1
0
        public async Task Send(string message, string roomName)
        {
            string xConnectionId = Context.ConnectionId;
            string xLogin        = Context.User.Identity.Name;

            await this.Clients.OthersInGroup(roomName).SendAsync("Send", message, xLogin);

            FChatManager.AddMessageToPool(message, xLogin, roomName);
        }