Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/werdl/quickhttp
Simple HTTP client in Rust
https://github.com/werdl/quickhttp
Last synced: about 7 hours ago
JSON representation
Simple HTTP client in Rust
- Host: GitHub
- URL: https://github.com/werdl/quickhttp
- Owner: werdl
- License: mit
- Created: 2024-02-13T09:18:55.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-21T18:08:01.000Z (9 months ago)
- Last Synced: 2024-11-13T00:48:50.345Z (6 days ago)
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quickhttp
> A simple HTTP client for Rust, with no dependencies.[![GitHub Actions][gh-image]][gh-checks]
[![crates.io][cratesio-image]][cratesio]
[![thetime on docs.rs][docsrs-image]][docsrs][gh-image]: https://github.com/werdl/quickhttp/actions/workflows/rust.yml/badge.svg
[gh-checks]: https://github.com/werdl/quickhttp/actions?query=workflow%20rust
[cratesio-image]: https://img.shields.io/crates/v/quickhttp.svg
[cratesio]: https://crates.io/crates/quickhttp
[docsrs-image]: https://docs.rs/quickhttp/badge.svg
[docsrs]: https://docs.rs/quickhttp# Example
```rust
let res = Builder::new()
.uri("http://httpbin.org/ip".to_string())
.method("GET".to_string())
.build()
.unwrap()
.send()
.unwrap();println!("{:?}", res.body);
```