Function json_rpc_server::call

source ·
pub async fn call<P, R>(
    url: &str,
    method: &str,
    params: &P,
    auth: Option<&str>
) -> RPCResult<Option<R>>
where R: for<'de> Deserialize<'de> + Debug, P: Serialize,