download

Function download 

Source
pub fn download(execution_id: String, client: &Client, api_key: &str) -> Status
Expand description

Polls the obfuscation status.

This endpoint should be called every 500 milliseconds until the obfuscation is complete.

⚠️ Note: This endpoint is rate-limited to 200 requests per minute.

§Arguments

  • execution_id - The execution ID returned by defend.
  • client - A preconfigured reqwest::blocking::Client.
  • api_key - Your CodeDefender API key.

§Returns

A Status enum indicating whether the file is ready (with presigned URL), still processing, or failed.