mirror of https://github.com/lidarr/Lidarr
21 lines
794 B
C#
21 lines
794 B
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Hubs
|
|
{
|
|
/// <summary>
|
|
/// A server side proxy for the client side hub.
|
|
/// </summary>
|
|
public interface IClientProxy
|
|
{
|
|
/// <summary>
|
|
/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
|
|
/// </summary>
|
|
/// <param name="method">name of the method to invoke</param>
|
|
/// <param name="args">argumetns to pass to the client</param>
|
|
/// <returns>A task that represents when the data has been sent to the client.</returns>
|
|
Task Invoke(string method, params object[] args);
|
|
}
|
|
}
|