Module jsonrpsee_core::client
source · Available on crate feature
client only.Expand description
Shared utilities for jsonrpsee clients.
Re-exports§
pub use async_client::Client;async-clientandasync-wasm-clientpub use async_client::ClientBuilder;async-clientandasync-wasm-clientpub use error::Error;
Modules§
- async_client
async-clientandasync-wasm-clientAbstract async client. - Error type for client(s).
Structs§
- Batch request message.
- Batch response.
- RegisterNotification message.
- Reference counted request ID.
- Keep track of request IDs.
- Request message.
- Active subscription on the client.
- Subscription message.
Enums§
- What certificate store to use
- Message that the Client can send to the background task.
- JSON-RPC request object id data type.
- Message type received from the RPC server. It can either be plain text data, bytes, or
Pongmessages. - Subscription kind
Traits§
- JSON-RPC client interface that can make requests and notifications.
- Marker trait to determine whether a type implements
Sendor 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.