range_request library

Classes

CancelToken
Token for cancelling download operations
CancelTokenGroup
Group of CancelTokens that can be cancelled together
FileDownloader
File download functionality for RangeRequestClient
RangeRequestClient
Client for performing HTTP range requests
RangeRequestConfig
Configuration for range requests

Enums

ChecksumType
Type of checksum to calculate during download
DownloadStatus
Status of the download operation
FileConflictStrategy
File conflict resolution strategy
RangeRequestErrorCode
Error codes for range request operations

Typedefs

ChunkRange = ({int end, int start})
A byte range for chunked downloads
DownloadResult = ({String? checksum, ChecksumType checksumType, String filePath, int fileSize})
Result of downloadToFile operation
ServerInfo = ({bool acceptRanges, int contentLength, String? fileName})
Information about server capabilities for range requests

Exceptions / Errors

RangeRequestException
Exception thrown by range request operations