Expand description
JSON-RPC 2.0 wire types and helpers.
This module defines the base JSON-RPC 2.0 protocol structures.
Structs§
- RpcError
- JSON-RPC 2.0 error object.
- RpcRequest
- JSON-RPC 2.0 request.
- RpcResponse
- JSON-RPC 2.0 response.
Enums§
- RpcId
- JSON-RPC 2.0 request identifier.
Constants§
Functions§
- err
- Create an error JSON-RPC response.
- ok
- Create a successful JSON-RPC response.
- ok_
partial - Create a partial (chunked) JSON-RPC response. Used for streaming large result sets.