Crates.io | quickhttp |
lib.rs | quickhttp |
version | 0.1.1 |
source | src |
created_at | 2024-02-13 10:17:14.823983 |
updated_at | 2024-02-13 10:29:59.270522 |
description | A simple HTTP client |
homepage | https://github.com/werdl/quickhttp |
repository | https://github.com/werdl/quickhttp |
max_upload_size | |
id | 1138337 |
size | 27,001 |
A simple HTTP client for Rust, with no dependencies.
let res = Builder::new()
.uri("http://httpbin.org/ip".to_string())
.method("GET".to_string())
.build()
.unwrap()
.send()
.unwrap();
println!("{:?}", res.body);