Skip to main content

RequestInterceptor

Type Alias RequestInterceptor 

Source
pub type RequestInterceptor = ArcMutatingFunction<HttpRequest, HttpResult<()>>;
Expand description

Request interceptor function used to mutate an outbound HttpRequest before URL resolution, header merge, and network I/O.

Returning Err short-circuits execution for the current attempt.

Aliased Typeยง

pub struct RequestInterceptor { /* private fields */ }