Skip to main content

Module middleware

Module middleware 

Source
Available on crate feature server only.
Expand description

Middleware for the RPC service.

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.
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.
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.