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

Wrap the hyper::Client in a new client that follows redirects.

Provided Methods

Wrap the hyper::Client in a new client that follows redirects, and set the maximum number of redirects to follow.

Implementations on Foreign Types

impl<C, B> ClientExt<C, B> for Client<C, B>
[src]

[src]

[src]

Implementors