Registry / http-client / http-req

http-req

JSON →
library0.14.6rscratesunverified

A simple and lightweight HTTP client with built-in HTTPS support.

http-client
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use http_req::request;

Sends a GET request to a URL and prints the status code.

use http_req::request; fn main() { let response = request::get("https://example.com").unwrap(); println!("Status: {}", response.status_code()); }
Debug
Known footguns
gotchaDoes not support async operations; blocking only.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
19 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
2
Resources