Skip to main content

https_get

Function https_get 

Source
pub fn https_get(host: &str, path: &str) -> Result<Vec<u8>, Error>
Expand description

Perform an HTTPS GET request and return the raw response body.

ยงErrors

Returns Error if DNS resolution, socket connection, TLS setup, or the HTTP request fails.