leyline-http 0.1.3

HTTP client that mimics browsers on the wire
Documentation
1
2
3
4
5
6
7
#[tokio::main]
async fn main() -> leyline::Result<()> {
    let resp = leyline::get("https://httpbin.org/get").await?;
    println!("status: {}", resp.status());
    println!("{}", resp.text().await?);
    Ok(())
}