Function https_get_text
Source pub fn https_get_text(host: &str, path: &str) -> Result<String, Error>
Expand description
Perform an HTTPS GET request and decode the body as UTF-8 text.
ยงErrors
Returns Error if the request fails or the response body is not valid UTF-8.