Available on crate feature
client
only.Expand description
Shared utilities for jsonrpsee
clients.
Re-exports§
pub use async_client::Client;
async-client
andasync-wasm-client
pub use async_client::ClientBuilder;
async-client
andasync-wasm-client
pub use error::Error;
Modules§
- async_
client async-client
andasync-wasm-client
Abstract async client. - Error type for client(s).
Structs§
- Batch response.
- Keep track of request IDs.
- Represent a client-side subscription which is implemented on top of a bounded channel where it’s possible that the receiver may not keep up with the sender side a.k.a “slow receiver problem”
Enums§
- JSON-RPC request object id data type.
- Message type received from the RPC server. It can either be plain text data, bytes, or
Pong
messages. - The reason why the subscription was closed.
- Subscription kind
Traits§
- JSON-RPC client interface that can make requests and notifications.
- Marker trait to determine whether a type implements
Send
or not. - JSON-RPC client interface that can make requests, notifications and subscriptions.
- Transport interface to receive data asynchronous.
- Transport interface to send data asynchronous.
Functions§
- Generate a range of IDs to be used in a batch request.
Type Aliases§
- Represent a single entry in a batch response.