Registry / networking / http
library1.4.1rscratesunverified

A set of types for representing HTTP requests and responses.

# Cargo.toml [dependencies] http = "1.4.1"
INSTALL
IMPORT
SIG · HTTP
H
http
networkingrustv1.4.1
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.

Request
use http::Request;

Create an HTTP request using the http crate.

use http::Request; fn main() { let request = Request::builder() .uri("http://example.com") .body(()).unwrap(); println!("{:?}", request); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
http — cargo add http · libregistry