Skip to main content

A2A_VERSION_METADATA_KEY

Constant A2A_VERSION_METADATA_KEY 

Source
pub const A2A_VERSION_METADATA_KEY: &'static str;
Expand description

The service parameter naming the A2A protocol version, spelled the way a non-HTTP binding carries it.

A2A §3.6.2 defines the parameter and §10.2 says each binding transmits it in whatever its own metadata mechanism is: an A2A-Version HTTP header for JSON-RPC and REST, a gRPC metadata entry, SLIMRPC session metadata. HTTP header names are case-insensitive and gRPC requires lowercase, so this is the lowercase spelling and validate_version_metadata matches keys without regard to case.