Module jsonrpc

Source
Expand description

JSON-RPC types and methods.

Structs§

JsonRpcNotification
Data structure for a JSON-RPC notification.
JsonRpcNotificationResultParams
Parameters used to return a result and error for a notification.
JsonRpcRequest
Data structure for a JSON-RPC request.
JsonRpcResponse
Data structure for a JSON-RPC response.
JsonRpcResponseError
Data structure for the error in a JSON-RPC response.

Enums§

JsonRpcErrorCode
A subset of JSON-RPC error codes.
JsonRpcMessage
All supported types of JSON-RPC messages.

Constants§

ID_KEY
The id field name used by the request and response.
JSON_RPC_VERSION
The version of JSON-RPC used by this crate.
METHOD_KEY
The method field name used by the request and notification.