Function jsonrpc_client_core::call_method
[−]
[src]
pub fn call_method<T, P, R>(
transport: T,
method: &str,
params: P
) -> RpcRequest<R> where
T: Transport,
P: Serialize,
R: Deserialize<'de> + Send + 'static,
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.