Skip to main content

Module http

Module http 

Source
Expand description

Various HTTP related types

Re-exports§

pub use crate::cookie::Cookie;
pub use crate::cookie::CookieBuilder;

Modules§

header
Various http headers
uri
URI component of request and response lines

Structs§

Error
A generic “error” for HTTP connections
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)
PathAndQuery
Represents the path component of a URI
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).
Uri
The URI component of a request.
Version
Represents a version of the HTTP spec.

Enums§

ConnectionType
Represents various types of connection
ContentEncoding
Represents supported types of content encodings