Microsoft.AspNetCore.SignalR.GroupManager.Send C# (CSharp) Method

Send() public method

Sends a value to the specified group.
public Send ( IList groupNames, object value ) : System.Threading.Tasks.Task
groupNames IList The names of the groups.
value object The value to send.
return System.Threading.Tasks.Task
        public Task Send(IList<string> groupNames, object value, params string[] excludeConnectionIds)
        {
            if (groupNames == null)
            {
                throw new ArgumentNullException("groupNames");
            }

            var message = new ConnectionMessage(groupNames.Select(groupName => CreateQualifiedName(groupName)).ToList(),
                                                value,
                                                PrefixHelper.GetPrefixedConnectionIds(excludeConnectionIds));

            return _connection.Send(message);
        }

Same methods

GroupManager::Send ( string groupName, object value ) : System.Threading.Tasks.Task