streamshare/README.md
2024-10-19 22:20:44 +02:00

20 lines
469 B
Markdown

# Streamshare
Upload files to [streamshare](https://streamshare.wireway.ch)
#### Example:
```rust
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),
}
```