Crate jsonrpc

Source
Expand description

§JSON-RPC library.

§Examples:

See full server/client example here: https://github.com/RustDT/rustdt-json_rpc/blob/master/tests/example.rs

Re-exports§

Modules§

Structs§

  • A JSON-RPC endpoint that can send requests (Client role), and send responses to requests (Server role).
  • Combine an Endpoint with a request handler, to create a complete Endpoint Handler, capable of handling incoming requests from a message reader.
  • Helper type that wraps a ResponseCompletable, and binds the possible completion to a result MethodResult<RET, RET_ERROR>
  • A completable for a JSON-RPC request. This is an object that must be “completed”, that is, a result must be provided. (this is the inverse of a future)

Traits§

Functions§

Type Aliases§