Trait follow_redirects::ClientExt
[−]
[src]
pub trait ClientExt<C, B> { fn follow_redirects(&self) -> Client<C, B>; fn follow_redirects_max(&self, max_redirects: usize) -> Client<C, B> { ... } }
Extension trait for adding follow-redirect features to hyper::Client
.
Required Methods
fn follow_redirects(&self) -> Client<C, B>
Wrap the hyper::Client
in a new client that follows redirects.
Provided Methods
fn follow_redirects_max(&self, max_redirects: usize) -> Client<C, B>
Wrap the hyper::Client
in a new client that follows redirects,
and set the maximum number of redirects to follow.