Module http

Module http 

Source
Expand description

Types related to the HTTP protocol (status codes, headers, etc).

This module re-exports all the items from the [http] crate that are needed to work with Pavex’s RequestHeads and Responses.

Modules§

header
HTTP header types
method
The HTTP request method
status
HTTP status codes
uri
URI component of request and response lines
version
HTTP version

Structs§

HeaderMap
A set of HTTP headers
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.).
Uri
The URI component of a request.
Version
Represents a version of the HTTP spec.