Skip to main content

get_bytes

Function get_bytes 

Source
pub async fn get_bytes(url: impl Into<String>) -> Result<Vec<u8>>
Expand description

Performs a GET request to url and returns the response body as raw bytes.