Skip to main content

get_bytes

Function get_bytes 

Source
pub fn get_bytes(url: &str, token: Option<&str>) -> Result<Vec<u8>>
Expand description

Download a URL to bytes, optionally with a Bearer token.