Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

HTTP dispatch layer — JSON-RPC and REST routing.

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§

CorsConfig
CORS configuration for A2A dispatchers.
DispatchConfig
Configuration for dispatch-layer limits shared by both JSON-RPC and REST dispatchers.
GrpcConfig
Configuration for the gRPC dispatcher.
GrpcDispatcher
gRPC dispatcher that routes A2A requests to a RequestHandler.
JsonRpcDispatcher
JSON-RPC 2.0 request dispatcher.
RestDispatcher
REST HTTP request dispatcher.
WebSocketDispatcher
WebSocket-based A2A dispatcher.