Module near_jsonrpc_primitives::message[][src]

Expand description

JSON-RPC 2.0 messages.

The main entrypoint here is the Message. The others are just building blocks and you should generally work with Message instead.

Structs

A notification (doesn’t expect an answer).

An RPC request.

A response to an RPC.

Enums

A broken message.

One message of the JSON RPC protocol.

A trick to easily deserialize and detect valid JSON, but invalid Message.

Functions

Read a Message from a slice.

Read a Message from a string.

Type Definitions