pub fn call_method<T, P, R>(
transport: &mut T,
method: String,
params: P,
) -> RpcRequest<R, T::Future>
Expand description
Prepares a lazy RpcRequest
with a given transport, method and parameters.
The call is not sent to the transport until the returned RpcRequest
is actually executed,
either as a Future
or by calling RpcRequest::call()
.
ยงNot intended for direct use
This is being called from the client structs generated by the jsonrpc_client
macro. This
function is not intended to be used directly, only the generated structs should call this.