Crate thin_jsonrpc_client
source ·Modules
- The backend trait, to connect a client to some server.
- Helpers to build parameters for a JSON-RPC request.
- JSON-RPC response types.
Structs
- Construct an RPC call. This can be used with
Client::request()orClient::notification. - This must be polled in order to accept messages from the server. Nothing will happen unless it is. This design allows us to apply backpressure (by polling this less often), and allows us to drive multiple notification streams without requiring any specific async runtime.
- A stream of server notifications.
- A struct representing messages from the server.
Enums
- An error handed back from
Client::request().
Type Definitions
- An error driving the message receiving. If the stream subsequently returns
None, it was due to the last emitted error.