mirror of
https://github.com/Waradu/streamshare.git
synced 2025-04-20 19:34:09 +02:00
469 B
469 B
Streamshare
Upload files to streamshare
Example:
match upload(&file_path).await {
Ok((file_identifier, _deletion_token)) => {
let download_url = format!(
"https://streamshare.wireway.ch/download/{}",
file_identifier
);
println!("File uploaded successfully");
println!("Download URL: {}", download_url);
}
Err(e) => eprintln!("Error: {}", e),
}