// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.AspNet.SignalR.Hubs
{
///
/// Implementations of this interface are responsible for executing operation required to complete various stages
/// hub processing such as connecting, reconnecting, disconnecting, invoking server-side hub methods, invoking
/// client-side hub methods, authorizing hub clients and rejoining hub groups.
///
public interface IHubPipelineInvoker
{
///
/// Invokes a server-side hub method.
///
/// A description of the server-side hub method invocation.
/// An asynchronous operation giving the return value of the server-side hub method invocation.
Task