Function bunny_api::edge::upload_file_data
source · [−]pub async fn upload_file_data(
client: &Client,
storage_zone: StorageZone,
zone_name: &str,
dest: &str,
content: Vec<u8>,
expected_sha256: Option<String>
) -> APIResult<(), Error>Expand description
Upload bytes to the given Storage Zone.
Errors
- Failure to send the request
- Error response from the server