Skip to content

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 AppFuture = Pin<Box<dyn Future + Send>>;

Synchronous application port for A2A servers.

Required / Provided Methods

fn build_agent_card(&self) -> AgentCard
fn handle_send_message(&self, params: SendMessageRequest) -> A2AResult<SendMessageResponse>

Async variant of the application port.

Required / Provided Methods

fn build_agent_card(&self) -> AgentCard
fn handle_send_message_async<'a>(&self, params: SendMessageRequest) -> AppFuture<'a>