Expand description
This crate provides a collection of functions to establish a HTTPS connection to a remote URL, retrieve the HTML content and extract its title.
Structs§
- Options
- Options contains the CLI available options offered to the binary tool.
- Parts
- The hierarchical sequence of components of a URI.
Enums§
- Jump
- Jump is the result of a connection.
Functions§
- connector
- Creates a TLSConnector with a specific CA file if provided.
- has_
redirect - Read the “redirect location” from a HTTP response.
- page_
content - Uses the given TLS connector and the URL parts to retrieve the HTML page content or the next location in case of a redirect.
- page_
title_ from_ html - Extract the page title tag content from a raw but well formed HTML content.