Skip to main content

get

Function get 

Source
async fn get(url: &str, max: usize) -> Result<Vec<u8>, String>
Expand description

url’s body, at most max bytes: refused as soon as it declares or reaches more, never held in memory whole first.