public virtual Task Send(int id, string method, IDictionary <string, object> kwargs, params object[] args)
        {
            var request = new RpcRequest(id, method, args, kwargs);

            return(Send(request));
        }
 public virtual Task Send(RpcRequest request)
 {
     return(Task.FromResult(-1));
 }
 public override Task Send(RpcRequest request)
 {
     return(Send(new[] { request }));
 }