Draft websocket example 🎉
This commit is contained in:
parent
2f557731f3
commit
dc50a2830a
8 changed files with 426 additions and 73 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue