[−][src]Crate jsonrpc
Rust JSON-RPC Library
Rust support for the JSON-RPC 2.0 protocol.
Re-exports
pub extern crate serde_json; |
pub extern crate base64; |
pub use error::Error; |
pub use client::Client; |
pub use client::Transport; |
Modules
client | Client support |
error | Error handling |
simple_http | 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. |
Structs
Request | A JSONRPC request object |
Response | A JSONRPC response object |
Functions
arg | Shorthand method to convert an argument into a [Box<serde_json::value::RawValue>]. |
try_arg | Shorthand method to convert an argument into a [Box<serde_json::value::RawValue>]. Since serializers rarely fail, it's probably easier to use [arg] instead. |