Skip to main content

RestRouter

Type Alias RestRouter 

Source
pub type RestRouter = A2aRouter;
Available on crate feature axum only.
Expand description

A2aRouter under a name that says which binding it serves.

The binding is HTTP+JSON, which this crate’s identifiers call REST (RestDispatcher, AgentInterface::rest). The same type; the documentation uses this name, and A2aRouter is not deprecated (ADR 0053).

Aliased Type§

pub struct RestRouter { /* private fields */ }