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); }
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); }