pub async fn request(
url: Url,
method: Method,
headers: &BTreeMap<String, String>,
file: Option<&Path>,
sender: Option<Sender<usize>>
) -> Result<Response>
Expand description
Errors
Will return Err
if can not make the request