Crate nimiq_jsonrpc_core

Crate nimiq_jsonrpc_core 

Source

Structs§

Request
A single JSON-RPC request object
Response
A single JSON-RPC response object.
RpcError
An error object that can be returned by the server.
Sensitive
SubscriptionMessage

Enums§

Error
An error of this JSON-RPC implementation. This can be either an error object returned by the server, or any other error that might be triggered in the server or client (e.g. a network error).
FrameType
Indicate if a websocket frame response should be in Binary or Text
RequestOrResponse
Enum that is either a request or response object.
SingleOrBatch
A JSON-RPC request or response can either be a single request or response, or a list of the former. This enum matches either for serialization and deserialization.
SubscriptionId

Constants§

JSONRPC_RESERVED_ERROR_CODES
JSONRPC_VERSION

Type Aliases§

ErrorCode
Numeric error code used in error objects.