Expand description
Middleware for the RPC service.
Modules§
- layer
- Specific middleware layer implementation provided by jsonrpsee.
Structs§
- Batch
- A batch of JSON-RPC requests.
- Batch
Entry Err - 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
- Re-export types from
jsonrpsee_types
crate for convenience. 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. - Request
- Re-export types from
jsonrpsee_types
crate for convenience. JSON-RPC request object as defined in the spec. - Response
Future - Response which may be ready or a future.
- RpcService
Builder - Similar to
tower::ServiceBuilder
but doesn’t support any tower middleware implementations.
Enums§
- Batch
Entry - 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.