Draft websocket example 🎉

This commit is contained in:
Héctor Ramón Jiménez 2022-01-16 15:50:19 +07:00
parent 2f557731f3
commit dc50a2830a
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 426 additions and 73 deletions

View file

@ -10,6 +10,7 @@ pub fn file<I: 'static + Hash + Copy + Send, T: ToString>(
url: T,
) -> iced::Subscription<(I, Progress)> {
subscription::run(
id,
Download {
id,
url: url.to_string(),