Registry / networking / headers-core

headers-core

JSON →
library0.3.0rscratesunverified

Core trait for typed HTTP headers, providing a foundation for header implementations.

# Cargo.toml [dependencies] headers-core = "0.3.0"
INSTALL
IMPORT
SIG · HEADERS-CORE
H
headers-core
networkingrustv0.3.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.

Header
use headers_core::Header;

Implements the Header trait for a custom HTTP header.

use headers_core::Header; struct MyHeader; impl Header for MyHeader { fn name() -> &'static str { "X-My-Header" } fn value(&self) -> String { "value".to_string() } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
headers-core — cargo add headers-core · libregistry