HttpRequestExt

Trait HttpRequestExt 

Source
pub trait HttpRequestExt {
    // Required method
    fn follow_redirects(self, follow: RedirectPolicy) -> Self;
}

Required Methods§

Source

fn follow_redirects(self, follow: RedirectPolicy) -> Self

Whether or not to follow redirects

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl HttpRequestExt for Builder

Source§

fn follow_redirects(self, follow: RedirectPolicy) -> Self

Implementors§