Crate jsonrpc_rs

source ·

Re-exports

pub use channel::RPCData;
pub use bytes;

Modules

Structs

When a rpc call encounters an error, the Response Object MUST contain the error member with a value that is a Object.
A rpc call is represented by sending a Request object to a Server.
When a rpc call is made, the Server MUST reply with a Response, except for in the case of Notifications.
JSONRPC server context structure.
JSONRPC version type.

Enums

The error codes from and including -32768 to -32000 are reserved for pre-defined errors. Any code within this range, but not defined explicitly below is reserved for future use. The error codes are nearly the same as those suggested for XML-RPC at the following url: http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php

Functions

Maping other error type to JSONRPC Error

Type Definitions