// 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
{
///
/// A context abstraction for a hub.
///
public interface IHubContext where THub : Hub
{
///
/// Gets a that can be used to invoke methods on clients connected to the hub.
///
IHubClients Clients { get; }
///
/// Gets a that can be used to add and remove connections to named groups.
///
IGroupManager Groups { get; }
}
}