extern crate hyper_rustls;
use Client;
use self::hyper_rustls::HttpsConnector;
use std::io::Read;
#[test]
fn test_get() {
let client = Client::create_connector(|c| HttpsConnector::new(4, &c.handle())).unwrap();
let mut response = client.get("https://httpbin.org/get").send().unwrap();
let mut content = String::new();
response.read_to_string(&mut content).unwrap();
println!("{}", content);
}