// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.SignalR
{
///
/// An abstraction that provides access to client connections, including the one that sent the current invocation.
///
/// The client caller type.
public interface IHubCallerClients : IHubClients
{
///
/// Gets a caller to the connection which triggered the current invocation.
///
T Caller { get; }
///
/// Gets a caller to all connections except the one which triggered the current invocation.
///
T Others { get; }
///
/// Gets a caller to all connections in the specified group, except the one which triggered the current invocation.
///
/// A client caller.
T OthersInGroup(string groupName);
}
}