Skip to content

OneDriveMultipartOptions

Defined in: src/providers/cloud/OneDriveProvider.ts:74

Resumable-upload session tuning for the OneDrive provider.

PropertyTypeDescriptionDefined in
enabled?booleanEnable Microsoft Graph upload sessions. Defaults to true so payloads above OneDriveMultipartOptions.thresholdBytes stream in fixed-size chunks via createUploadSession instead of being buffered into a single PUT /content. Set to false to force the legacy single-shot behaviour.src/providers/cloud/OneDriveProvider.ts:81
partSizeBytes?numberTarget chunk size in bytes. Must be a multiple of 320 KiB per the Graph protocol (the final chunk is exempt). Defaults to 10 MiB.src/providers/cloud/OneDriveProvider.ts:88
thresholdBytes?numberObject size threshold above which an upload session is used. Defaults to 4 MiB.src/providers/cloud/OneDriveProvider.ts:83