Expand description
Download manager for non-WASM resources.
When the Oxide browser navigates to a URL that does not point to a .wasm
module it downloads the file to the system Downloads folder instead.
Multiple downloads can run in parallel, each reporting progress (bytes
received, total size, speed) via shared state polled by the UI.
Structs§
- Download
Manager - Download
Progress - Snapshot of a single download’s progress at a point in time.
Enums§
Functions§
- format_
bytes - Format byte count for display: “1.2 MB”, “340 KB”, etc.
Type Aliases§
- Download
Id - Identifies a single download; monotonically increasing.
- Shared
Downloads - Thread-safe handle shared between the download worker threads and the UI.