Registry / http-client / isahc
library2.0.0rscratesunverified

The practical HTTP client that is fun to use.

# Cargo.toml [dependencies] isahc = "2.0.0"
INSTALL
IMPORT
SIG · ISAHC
I
isahc
http-clientrustv2.0.0
harness data pending
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.

HttpClient
use isahc::prelude::*;

Simple GET request with Isahc

use isahc::prelude::*; fn main() -> Result<(), isahc::Error> { let mut response = HttpClient::new()?.get("https://example.com")?; println!("{}", response.text()?); Ok(()) }
Debug
Known issues
gotchaIsahc uses libcurl under the hood; ensure libcurl is installed on the system.
fix
Install libcurl development package (e.g., libcurl4-openssl-dev on Debian/Ubuntu).
affects: >=0.0.0
Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
isahc — cargo add isahc · libregistry