Skip to main content

fetch

Function fetch 

Source
pub fn fetch(
    url: &str,
    max_bytes: usize,
    timeout_secs: u64,
) -> Result<FetchedDoc, String>
Expand description

Fetch url, following up to MAX_REDIRECTS re-validated redirects.