Skip to main content

Module client

Module client 

Source
Available on crate feature client only.
Expand description

A2A client module.

Structs§

CallMeta
Case-insensitive metadata map carried through interceptor chains.
Client
A2A protocol client.
ClientConfig
Configuration options for Client behavior.
JsonRpcTransport
JSON-RPC 2.0 transport for the A2A protocol.
PassthroughInterceptor
No-op interceptor for embedding in custom implementations.
Request
Transport-agnostic outgoing request that interceptors can observe and modify.
Response
Transport-agnostic response that interceptors can observe and modify.
StaticCallMetaInjector
A CallInterceptor that attaches static metadata to all outgoing requests.
TransportConfig
Configuration for creating a JsonRpcTransport.

Statics§

CALL_META
Per-request metadata propagated from interceptors to the transport layer.

Traits§

CallInterceptor
Middleware for intercepting client calls.
Transport
Transport-agnostic interface for all A2A protocol operations.

Functions§

call_meta
Returns a clone of the current request’s CallMeta, if set.

Type Aliases§

EventStream
A boxed stream of protocol Events for streaming responses.