Skip to main content

ChunkUrlInfo

A ChunkUrlInfo represents a single chunk that will be uploaded or downloaded with URL provided by user.
It describes the chunk url, the offset, the path of the parent file and the chunk size.

Each instance should be generated by user with the signed URLs to use.


Structure

export interface ChunkUrlInfo {
url: string;
offset: number;
size: number;
filePath: string;
}

Properties

PropertyTypeDescription
urlstringUrl to upload or download the chunk
offsetnumberThe offset position of the chunk in the file
sizenumberSize of the chunk in bytes
filePathstringRelative path of the parent file