aspnetcore/src/Microsoft.AspNetCore.SignalR/IHubContext.cs

20 lines
511 B
C#

// 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.SignalR
{
public interface IHubContext<THub, TClient>
{
IHubConnectionContext<TClient> Clients { get; }
}
public interface IHubContext<THub> : IHubContext<THub, IClientProxy>
{
}
}