Expand description
§turul-rpc-core
Pure JSON-RPC 2.0 wire types. No async, no codec helpers, no parser.
Use turul-rpc-jsonrpc for parsing/batch and turul-rpc-server for
the dispatcher and handler trait. Most consumers should depend on the
turul-rpc facade instead of these crates directly.
Re-exports§
pub use error::JsonRpcError;pub use error::JsonRpcErrorCode;pub use notification::JsonRpcNotification;pub use request::JsonRpcRequest;pub use request::RequestParams;pub use response::JsonRpcResponse;pub use response::JsonRpcSuccessResponse;pub use response::ResponseResult;pub use types::JsonRpcVersion;pub use types::RequestId;
Modules§
- error
- error_
codes - Standard JSON-RPC 2.0 error codes.
- notification
- request
- response
- types
Constants§
- JSONRPC_
VERSION - JSON-RPC 2.0 version constant.