Skip to main content

Crate kithara_file

Crate kithara_file 

Source
Expand description

File streaming implementation for progressive HTTP downloads.

§Example

use kithara_stream::{Stream, StreamType};
use kithara_file::{File, FileConfig};

// Using StreamType API
let config = FileConfig::new(url);
let inner = File::create(config).await?;

Structs§

File
Marker type for file streaming.
FileConfig
Configuration for file streaming.

Enums§

FileSrc
Source of a file stream: either a remote URL or a local path.