pub fn download_obfuscated_file(
download_url: &str,
client: &Client,
) -> Result<Vec<u8>, Box<dyn Error>>Expand description
Downloads the obfuscated file from the presigned URL.
§Arguments
download_url- The presigned URL returned bydownloadwhen ready.client- A preconfiguredreqwest::blocking::Client.
§Returns
A Result<Vec<u8>, Box<dyn Error>> containing the obfuscated file bytes.
§Errors
Returns an error if the download fails or the server responds with a non-success status.