Exemplo n.º 1
0
        public async Task <TResponseParam> Invoke(Address from, Address to, string method, IDictionary <string, object> param)
        {
            var request  = new CallRequestMessage(from, to, method, param);
            var response = await Invoke(request);

            return(response.Result);
        }
Exemplo n.º 2
0
        public async Task <TResponseParam> Invoke(Address from, Address to, string method, TRequestParam param)
        {
            var request  = new CallRequestMessage <TRequestParam>(from, to, method, param);
            var response = await Invoke(request);

            return(response.Result);
        }