Skip to main content

Module rpc

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.
MethodResponse
Represents a response to a method call.
Request
Re-export types from jsonrpsee_types crate for convenience. 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.