Expand description
HTTP response type with lazy HTML parsing.
The Response struct is what you get back from every request made through
Fetcher or FetcherSession. It holds
the raw response bytes, headers, cookies, status code, and metadata. The HTML body
is not parsed until you first call selector(), css(),
or any other method that needs the DOM – this keeps simple status-code checks fast.
The internal [build_response_async] function converts a raw wreq::Response into
this type and is used by the client module.
Structs§
- Response
- HTTP response with lazy-parsed HTML selector.