#json-rpc #json-rpc-client #rpc #async #async-client #client

async-jsonrpc-client

An asynchronous JSON-RPC 2.0 client library

7 releases

0.3.0 Feb 24, 2021
0.3.0-beta.1 Feb 14, 2021
0.2.0 Feb 6, 2021
0.1.3 Jul 24, 2020
0.1.1 May 26, 2020

#36 in #jsonrpc

MIT/Apache

145KB
3K SLoC

async-jsonrpc-client

ga-svg crates-svg docs-svg

An asynchronous JSON-RPC 2.0 client library written in Rust.

Features

  • support HTTP
  • support WebSocket
  • support batch request
  • support subscription (only for WebSocket client)
  • support async-std and tokio runtime

Usage

See the examples for details.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–21MB
~344K SLoC