Skip to main content

Module jsonrpc_handler

Module jsonrpc_handler 

Source
Available on crate features a2a-v1 and server only.
Expand description

A2A v1.0.0 JSON-RPC handler.

Axum handler that deserializes a JsonRpcRequest, dispatches to RequestHandler based on the method name, and wraps results in JSON-RPC responses. Streaming methods (SendStreamingMessage, SubscribeToTask) return SSE streams with JSON-RPC–wrapped events.

Functions§

jsonrpc_handler
Axum handler for A2A v1.0.0 JSON-RPC requests.