tokio-jsonrpc

Crates.iotokio-jsonrpc
lib.rstokio-jsonrpc
version0.9.1
sourcesrc
created_at2017-02-11 19:09:45.38739
updated_at2018-03-03 15:47:04.13472
descriptionAn implementation of JSON RPC 2.0 for tokio
homepage
repositoryhttps://github.com/vorner/tokio-jsonrpc
max_upload_size
id8473
size164,837
Michal 'vorner' Vaner (vorner)

documentation

https://docs.rs/tokio-jsonrpc

README

Tokio-JSONRPC

Travis Build Status AppVeyor Build status

This is an implementation of the JSON RPC 2.0 protocol for tokio. It can handle some of the more niche features, like batches and an endpoint being both the server and the client at the same time.

Functionality might still be missing and the API of what exists is likely to change in small ways. However, it probably can be used for real work, if you don't mind having to update your code in the future.

Currently it contains the lower-level parts, parsing the messages and sending anwers. A small example how to use these can be found in the echo params program.

Also, a bit of higher level is there in the form of the Endpoint structure and some helpers in the server module. The use can be examined in the time server program.

The API documentation can be found here.

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.

Commit count: 186

cargo fmt