Skip to main content

get

Function get 

Source
pub fn get(
    url: &str,
    bearer: Option<&str>,
    progress: &'_ mut dyn FnMut(u64, Option<u64>),
    cancel: &AtomicBool,
) -> Result<Vec<u8>, HttpError>
Expand description

The whole body in memory, up to MAX_BUFFERED_BYTES: right for a manifest, wrong for a package zip.