mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
ProtocolServer: Implement and handle download progress
Also updates `pro` to display download progress and speed on stderr
This commit is contained in:
parent
c6825a96c7
commit
06cf9d3fb7
14 changed files with 97 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
endpoint ProtocolClient = 13
|
||||
{
|
||||
// Download notifications
|
||||
DownloadProgress(i32 download_id, u32 total_size, u32 downloaded_size) =|
|
||||
DownloadProgress(i32 download_id, Optional<u32> total_size, u32 downloaded_size) =|
|
||||
DownloadFinished(i32 download_id, bool success, u32 total_size, i32 shbuf_id) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue