Expand description
HTTP dispatch layer — JSON-RPC and REST routing.
Re-exports§
pub use cors::CorsConfig;pub use grpc::GrpcConfig;pub use grpc::GrpcDispatcher;pub use jsonrpc::JsonRpcDispatcher;pub use rest::RestDispatcher;pub use websocket::WebSocketDispatcher;
Modules§
- axum_
adapter - Axum framework integration for A2A servers.
- cors
- CORS (Cross-Origin Resource Sharing) configuration for A2A dispatchers.
- grpc
- gRPC dispatcher for the A2A server.
- jsonrpc
- JSON-RPC 2.0 dispatcher.
- rest
- REST dispatcher.
- websocket
- WebSocket dispatcher for bidirectional A2A communication.
Structs§
- Dispatch
Config - Configuration for dispatch-layer limits shared by both JSON-RPC and REST dispatchers.