Function download_to_file

Source
pub async fn download_to_file(
    client: &Client,
    url: &str,
    file: &mut File,
) -> Result<()>
Expand description

Download a url using a GET request to a tokio file.