Crate jsonrpc

source ·
Expand description

Rust JSON-RPC Library

Rust support for the JSON-RPC 2.0 protocol.

Re-exports

pub extern crate serde_json;
pub use crate::client::Client;
pub use crate::client::Transport;
pub use crate::error::Error;

Modules

Client support
Error handling
This module implements a minimal and non standard conforming HTTP 1.0 round-tripper that works with the bitcoind RPC server. This can be used if minimal dependencies are a goal and synchronous communication is ok.
This module implements a synchronous transport over a raw TcpListener. Note that it does not handle TCP over Unix Domain Sockets, see simple_uds for this.

Structs

A JSONRPC request object.
A JSONRPC response object.

Functions

Shorthand method to convert an argument into a boxed serde_json::value::RawValue.
Shorthand method to convert an argument into a boxed serde_json::value::RawValue.