Skip to main content

HttpResponseInterceptor

Type Alias HttpResponseInterceptor 

Source
pub type HttpResponseInterceptor = ArcMutatingFunction<HttpResponseMeta, HttpResult<()>>;
Expand description

Response interceptor function used to inspect/mutate response metadata (status, headers, url) before the response is returned to callers.

Returning Err short-circuits execution for the current attempt.

Aliased Typeยง

pub struct HttpResponseInterceptor { /* private fields */ }