Struct exonum_jsonrpc::client::Client [] [src]

pub struct Client { /* fields omitted */ }

A handle to a remote JSONRPC server

Methods

impl Client
[src]

Creates a new client

Examples

use jsonrpc_v1::client::Client;

let client = Client::new(String::from("www.example.org"), None, None);

Panics

This function panics if you provide a password without an username.

Sends a request to a client

Builds a request

Accessor for the last-used nonce

Returns rpc url

Returns rpc password

Returns rpc username