request_async

Function request_async 

Source
pub async fn request_async<T: ToString>(
    url: T,
    headers: Vec<(&str, &str)>,
    timeout: Option<u64>,
) -> Result<Response<AsyncBody>, DownloadError>
Expand description

Generic request function.