use slinger::ClientBuilder; fn main() -> Result<(), Box> { let client = ClientBuilder::new().build().unwrap(); let resp = client .get("https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget") .send()?; println!("{:?}", resp.request()); let record = resp.http_record().unwrap(); println!("{:?}", record.len()); Ok(()) }