Expand description
Re-exports§
pub use jsonrpsee_types as types;
pub use tracing;
Structs§
- Noop
IdProvider - No-op implementation to be used for servers that don’t support subscriptions.
- Random
Integer IdProvider - Generates random integers as subscription ID.
- Random
String IdProvider - Generates random strings of length
len
as subscription ID. - RpcModule
- Sets of JSON-RPC methods can be organized into a “module“s that are in turn registered on the server or,
alternatively, merged with other modules to construct a cohesive API.
RpcModule
wraps an additional context argument that can be used to access data during call execution. - Subscription
Sink - Represents a single subscription.
- WsServer
- A WebSocket JSON RPC server.
- WsServer
Builder - Builder to configure and create a JSON-RPC Websocket server
- WsServer
Handle - Handle that is able to stop the running server or wait for it to finish its execution.
- WsShutdown
Waiter - A
Future
that resolves once the server has stopped.
Traits§
- IdProvider
- Trait to generate subscription IDs.