Skip to main content

Module http

Module http 

Source
Expand description

HTTP client module for fetching feeds from URLs

Re-exports§

pub use validation::validate_url;

Modules§

validation
URL validation module for SSRF protection

Structs§

FeedHttpClient
HTTP client for fetching feeds
FeedHttpResponse
HTTP response from feed fetch
HttpStatus
A failure status code: always in 400..=999.
TransportError
Opaque transport-level failure (connect, TLS, timeout, I/O).

Enums§

FetchError
Failure while fetching a feed over HTTP.
HeaderField
Request header whose value was rejected.

Functions§

error_chain
Formats error followed by every error in its source() chain, joined by ": ".