Expand description
Rust JSON-RPC Library
Rust support for the JSON-RPC 2.0 protocol.
Re-exports
pub extern crate base64;
pub extern crate minreq;
pub extern crate serde;
pub extern crate serde_json;
pub use http::simple_http;
pub use http::minreq_http;
pub use crate::client::Client;
pub use crate::client::Transport;
pub use crate::error::Error;
Modules
- Client support
- Error handling
- HTTP transport modules.
- This module implements a synchronous transport over a raw
std::net::TcpListener
. Note that it does not handle TCP over Unix Domain Sockets, seesimple_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
.