// 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
{
///
/// A server side proxy for the client side hub.
///
public interface IClientProxy
{
///
/// Invokes a method on the connection(s) represented by the instance.
///
/// name of the method to invoke
/// argumetns to pass to the client
/// A task that represents when the data has been sent to the client.
Task Invoke(string method, params object[] args);
}
}