Skip to main content

Module jsonrpc

Module jsonrpc 

Source
Expand description

JSON-RPC 2.0 message types.

These are intentionally defined here (rather than using an external crate) so that AgentOx can inspect raw responses and send malformed messages for audit purposes.

Structs§

JsonRpcError
A JSON-RPC 2.0 error object.
JsonRpcNotification
A JSON-RPC 2.0 notification (request without an id).
JsonRpcRequest
A JSON-RPC 2.0 request message.
JsonRpcResponse
A JSON-RPC 2.0 response message.

Enums§

RequestId
A JSON-RPC 2.0 request ID.