Expand description
Client configuration types.
ClientConfig controls how the client connects to agents: which transport
to prefer, what content types to accept, timeouts, and TLS settings.
Structs§
- Client
Config - Configuration for an
crate::A2aClientinstance.
Enums§
- Grpc
Bare Address Scheme - How a gRPC interface address that carries no scheme is connected.
- TlsConfig
- TLS configuration for the HTTP bindings (JSON-RPC, HTTP+JSON).
Constants§
- BINDING_
GRPC - gRPC protocol binding.
- BINDING_
HTTP_ JSON - HTTP+JSON protocol binding (spec name for the REST transport).
- BINDING_
JSONRPC - Protocol binding identifier.
- BINDING_
REST - REST protocol binding (legacy alias for
BINDING_HTTP_JSON). - DEFAULT_
STREAM_ FIRST_ EVENT_ TIMEOUT - Default for
ClientConfig::stream_first_event_timeout: 5 minutes. - DEFAULT_
STREAM_ IDLE_ TIMEOUT - Default for
ClientConfig::stream_idle_timeout: 5 minutes.