Function fetch_html
Source pub async fn fetch_html(url: &str) -> Result<String>
Expand description
Fetch HTML content from a URL
This function makes a simple HTTP GET request to fetch the HTML content.
§Arguments
§Returns
The HTML content as a string
§Errors
Returns an error if the fetch fails or the response cannot be decoded