Skip to main content

HttpRequestInterceptor

Type Alias HttpRequestInterceptor 

Source
pub type HttpRequestInterceptor = 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 HttpRequestInterceptor { /* private fields */ }