extern crate make_hyper_great_again as mhga; extern crate hyper_tls; use mhga::Client; use std::io::Read; fn main() { let client = Client::create_connector(|c| hyper_tls::HttpsConnector::new(4, &c.handle()).unwrap()).unwrap(); let mut response = client.get("https://example.com").send().unwrap(); let mut content = String::new(); response.read_to_string(&mut content).unwrap(); println!("{}", content); }