Module pavex::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§

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

Structs§

  • A set of HTTP headers
  • Represents an HTTP header field name
  • Represents an HTTP header field value.
  • The Request Method (VERB)
  • An HTTP status code (status-code in RFC 7230 et al.).
  • The URI component of a request.
  • Represents a version of the HTTP spec.