feat(updater): allow passing headers & timeout in Update.download* methods (#1661)

closes #1634
This commit is contained in:
Amr Bashir
2024-09-03 01:02:16 +03:00
committed by GitHub
parent b9bcb2b6af
commit f8255e1db5
6 changed files with 69 additions and 11 deletions
+4
View File
@@ -68,6 +68,10 @@ pub enum Error {
#[error(transparent)]
Http(#[from] http::Error),
#[error(transparent)]
InvalidHeaderValue(#[from] http::header::InvalidHeaderValue),
#[error(transparent)]
InvalidHeaderName(#[from] http::header::InvalidHeaderName),
#[error(transparent)]
Tauri(#[from] tauri::Error),
}