Skip to main content

Crate ntex_http

Crate ntex_http 

Source
Expand description

HTTP protocol primitives for ntex.

This crate provides HeaderMap and HeaderValue implementations, message-body abstractions in body, common HTTP errors, and re-exports of standard method, status, URI, version, and header-name types.

Re-exports§

pub use self::error::Error;

Modules§

body
Traits and structures to aid consuming and writing HTTP payloads.
error
header
Various http headers

Structs§

HeaderMap
A multimap of HTTP header names to values.
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
Version
Represents a version of the HTTP spec.