Module rpc

Source
Expand description

JSON-RPC service middleware.

Modules§

layer
Specific middleware layer implementation provided by jsonrpsee.

Structs§

Batch
A batch of JSON-RPC requests.
BatchEntryErr
Error response that can used to indicate an error in JSON-RPC request batch request. This is used in the Batch type to indicate an error in the batch entry.
Extensions
A type map of protocol extensions.
IsBatch
An extension type for the RpcServiceT::batch for the expected id range of the batch entries.
IsSubscription
A marker type to indicate that the request is a subscription for the RpcServiceT::call method.
MethodResponse
Represents a response to a method call.
Request
JSON-RPC request object as defined in the spec.
ResponseFuture
Response which may be ready or a future.
RpcService
JSON-RPC service middleware.
RpcServiceBuilder
Similar to tower::ServiceBuilder but doesn’t support any tower middleware implementations.

Enums§

BatchEntry
A batch entry specific for the RpcServiceT::batch method to support both method calls and notifications.

Traits§

RpcServiceT
Represent a JSON-RPC service that can process JSON-RPC calls, notifications, and batch requests.

Type Aliases§

Notification
Re-export types from jsonrpsee_types crate for convenience.