Module http

Module http 

Source
Expand description

This module provides extensions to the HTTP, Hyper, and Axum crates.

Hyper and Axum are built on top of the HTTP crate, and Axum uses parts of Hyper, so it makes sense to combine all of these in one module.

Structs§

UnpackedResponse
An HTTP response in comparison-friendly form for interrogation.
UnpackedResponseBody
An HTTP response body.
UnpackedResponseHeader
An HTTP response header.

Enums§

ContentType
The content type of an HTTP response, for use by UnpackedResponseBody.
ResponseError
The possible errors that can occur when working with an HTTP response.

Traits§

ResponseExt
This trait provides additional functionality to Response.