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;
simple_http
pub use http::minreq_http;
minreq_http
pub use crate::client::Client;
pub use crate::client::Transport;
pub use crate::error::Error;
Modules§
- client
- Client support
- error
- Error handling
- http
- HTTP transport modules.
- simple_
tcp simple_tcp
- 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. - simple_
uds simple_uds
and non-Windows - This module implements a synchronous transport over a raw
std::net::TcpListener
.
Structs§
Functions§
- arg
- Shorthand method to convert an argument into a boxed
serde_json::value::RawValue
. - try_arg
- Shorthand method to convert an argument into a boxed
serde_json::value::RawValue
.