pub type RequestInterceptor = Arc<dyn Fn(RequestBuilder) -> RequestBuilder + Send + Sync>;Expand description
A function that modifies outgoing requests before they are sent.
Interceptors are applied in the order they are added. Each interceptor
receives and returns a reqwest::RequestBuilder, allowing it to add
headers, query parameters, or other modifications.
Aliased Typeยง
pub struct RequestInterceptor { /* private fields */ }