Skip to main content

Module jsonrpc

Module jsonrpc 

Source
Expand description

JSON-RPC 2.0 envelope types.

A2A 0.3.0 uses JSON-RPC 2.0 as its wire protocol. This module provides the request/response envelope types. Protocol-method-specific parameter and result types live in crate::params and the individual domain modules.

§Key types

Structs§

JsonRpcError
The error object within a JSON-RPC 2.0 error response.
JsonRpcErrorResponse
An error JSON-RPC 2.0 response.
JsonRpcRequest
A JSON-RPC 2.0 request object.
JsonRpcSuccessResponse
A successful JSON-RPC 2.0 response.
JsonRpcVersion
The JSON-RPC protocol version marker.

Enums§

JsonRpcResponse
A JSON-RPC 2.0 response: either a success with a result or an error with an error object.

Type Aliases§

JsonRpcId
A JSON-RPC 2.0 request/response identifier.