using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace JsonRPC4.Router.Abstractions { public interface IRpcInvoker { Task InvokeRequestAsync(RpcRequest request, IRouteContext routeContext, RpcPath path = null); Task> InvokeBatchRequestAsync(IList requests, IRouteContext routeContext, RpcPath path = null); } }