rs-net-http 0.1.0
A small blocking HTTP client: GET and POST text or JSON with timeouts and retries
Install
cargo add rs-net-http --registry rupm
In Ruststudio: Packages, search for rs-net-http, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-net-http
A small blocking HTTP client: GET and POST text or JSON with timeouts and retries
Add it with `rupm add rs-net-http` (or `cargo add rs-net-http --registry rupm`).
```rust
let page = rs_net_http::get_text("https://example.org")?;
let item: serde_json::Value = rs_net_http::get_json("https://api.example.org/items/1")?;
let made: serde_json::Value = rs_net_http::post_json("https://api.example.org/items", &serde_json::json!({ "name": "x" }))?;
```