a2a_app_ports
Application Ports for A2A HTTP Server (v1.0)
Defines the application-facing port that infrastructure (HTTP server) uses to delegate A2A methods to the SDK/application layer.
Type Aliases
Section titled “Type Aliases”AppFuture
Section titled “AppFuture”type AppFuture = Pin<Box<dyn Future + Send>>;Traits
Section titled “Traits”A2AAppPort
Section titled “A2AAppPort”Synchronous application port for A2A servers.
Required / Provided Methods
fn build_agent_card(&self) -> AgentCardfn handle_send_message(&self, params: SendMessageRequest) -> A2AResult<SendMessageResponse>A2AAppPortAsync
Section titled “A2AAppPortAsync”Async variant of the application port.
Required / Provided Methods
fn build_agent_card(&self) -> AgentCardfn handle_send_message_async<'a>(&self, params: SendMessageRequest) -> AppFuture<'a>