pub type ResponseInterceptor = Arc<dyn Fn(&Response) + Send + Sync>;Expand description
A function that inspects responses after they are received.
Response interceptors cannot modify the response; they are intended for logging, metrics, or side-effect-based observation. They are called in the order they are added.
Aliased Typeยง
pub struct ResponseInterceptor { /* private fields */ }