Function jsonrpc_client_core::call_method
[−]
[src]
pub fn call_method<E, T, P, R>(
transport: &mut T,
id: u64,
method: &str,
params: P
) -> Result<R> where
E: Error + Send + 'static,
T: Transport<E>,
P: Serialize,
R: Deserialize<'de>,
Call a method with a given transport, method and parameters. Not intended for direct use.
Is being called from the client structs generated by the jsonrpc_client
macro.