Expand description
Request / response interceptors.
A light wrapper that lets callers observe or mutate outgoing requests (logging, tracing span injection, custom headers, tenant pinning) without re-implementing the transport.
The default client installs only the built-in telemetry interceptor. Additional
interceptors are appended via crate::ClientBuilder::interceptor and run in the
order they were added.
Structs§
- Tracing
Interceptor - Built-in interceptor that adds a structured
tracingspan around every request.
Traits§
- Interceptor
- Hook invoked around every outgoing HTTP request.
Type Aliases§
- Shared
Interceptor - Shared-ownership handle used throughout the SDK.