Skip to main content

Module handler

Module handler 

Source
Expand description

Core request handler — protocol logic layer.

RequestHandler wires together the executor, stores, push sender, interceptors, and event queue manager to implement all A2A v1.0 methods.

§Module overview

ModuleContents
limitsHandlerLimits — configurable per-handler bounds
messagingRequestHandler::on_send_message — send/stream entry point
lifecycleGet, list, cancel, resubscribe, extended agent card
push_configPush notification config CRUD
event_processingEvent collection, state transitions, push delivery
shutdownEnding in-flight work, then graceful shutdown with optional timeout

Structs§

HandlerLimits
Configurable limits for the request handler.
InFlightReport
What RequestHandler::cancel_in_flight did.
RequestHandler
The core protocol logic handler.
ShutdownReport
What a shutdown actually managed to do.

Enums§

InboundTracePolicy
What this deployment does with a traceparent an unauthenticated peer sent it.
SendMessageResponse
The result of a SendMessage call: either a Task or a Message.
SendMessageResult
Result of RequestHandler::on_send_message.

Constants§

MIN_MESSAGE_ID_LENGTH
The smallest bound message.id may be held to: the length of a hyphenated UUID.