pub fn new<S: Into<String>>(origin: S) -> Self {
        let mut hyper_client = hyper::Client::new();
        hyper_client.set_redirect_policy(RedirectPolicy::FollowNone);

        Client {
            origin: origin.into(),
            cookie: Cookie(Vec::new()),
            client: hyper_client,
        }
    }
/// Creates a new API client.
Creates a new API client.
Creates a new API client .
pub fn new<S: Into<String>>(origin: S) -> Self {
        let mut hyper_client = hyper::Client::new();
        hyper_client.set_redirect_policy(RedirectPolicy::FollowNone);
        Client {
            origin: origin.into(),
            cookie: Cookie(Vec::new()),
            client: hyper_client,
        }
    }
pub fn new < S : Into < String > > ( origin : S ) -> Self { let mut hyper_client = hyper :: Client :: new ( ) ; hyper_client . set_redirect_policy ( RedirectPolicy :: FollowNone ) ; Client { origin : origin . into ( ) , cookie : Cookie ( Vec :: new ( ) ) , client : hyper_client , } }
Creates a new API client.
Creates a new API client .
origin
S
origin
S