Function abstio::download_bytes[][src]

pub async fn download_bytes<I: AsRef<str>>(url: I) -> Result<Vec<u8>>

Downloads bytes from a URL, printing progress to STDOUT. This must be called with a tokio runtime somewhere.