Skip to main content

Module test_support

Module test_support 

Source
Expand description

Re-exported JSON-RPC internals for integration tests (requires test-support feature).

Modules§

error_codes
Standard JSON-RPC 2.0 error codes.

Structs§

JsonRpcClient
Low-level JSON-RPC 2.0 client over Content-Length-framed streams.
JsonRpcNotification
A JSON-RPC 2.0 notification (no id, no response expected).
JsonRpcRequest
A JSON-RPC 2.0 request message.
JsonRpcResponse
A JSON-RPC 2.0 response message.

Enums§

JsonRpcMessage
A parsed JSON-RPC 2.0 message — request, response, or notification.