Class: Chunk

Chunk(client, sessionID, chunk, offset, totalSize, options)

new Chunk(client, sessionID, chunk, offset, totalSize, options)

Create a Chunk, representing a part of a file being uploaded
Parameters:
Name Type Description
client BoxClient The Box SDK client
sessionID string The ID of the upload session the chunk belongs to
chunk Buffer | string The chunk that was uploaded
offset int The byte offset within the file where this chunk begins
totalSize int The total size of the file this chunk belongs to
options Object The options from the ChunkedUploader
Properties
Name Type Description
retryInterval int The number of ms to wait before retrying a chunk upload
Source: