use talap::Request; fn main() { let response = Request::get_from_url("https://www.apple.com/").unwrap().send().unwrap(); println!("{}", response.status_code); println!("{:?}", response.headers); println!("{}", String::from_utf8(response.body).unwrap()); }