Function tower_http::follow_redirect::policy::redirect_fn
source · pub fn redirect_fn<F, E>(f: F) -> RedirectFn<F>where
F: FnMut(&Attempt<'_>) -> Result<Action, E>,
Available on crate feature
follow-redirect
only.