Skip to main content

Crate takanawa_http

Crate takanawa_http 

Source
Expand description

HTTP range download engine built on the Takanawa core part-file primitives.

Structs§

DownloadConfig
Configuration for a resumable HTTP range download.
DownloadEngine
Cloneable HTTP download engine shared by download handles.
DownloadHandle
Stateful download handle that can be started, paused, cancelled, and observed.
DownloadSnapshot
Point-in-time download progress.
DownloadSpeedSnapshot
Point-in-time download speed sample.
IoLimiter
Async limiter for coordinating in-flight HTTP and file I/O.
RetryConfig
Retry configuration for remote probe and chunk requests.
TimeoutConfig
Timeout configuration for HTTP requests.

Enums§

DownloadPhase
Lifecycle phase reported for a download.

Constants§

DEFAULT_MAX_IO
Default maximum number of simultaneous HTTP/file I/O operations.

Functions§

download_to_completion
Downloads a resource to completion and returns its final progress snapshot.

Type Aliases§

ProgressCallback
Callback invoked when download progress changes.
SpeedCallback
Callback invoked when response-body bytes are received.