Skip to content

uploadPiece

function uploadPiece(options): Promise<void>;

Defined in: packages/synapse-core/src/sp.ts:369

Upload a piece to the PDP API.

POST /pdp/piece

ParameterTypeDescription
optionsUploadPieceOptionsThe options for the upload piece.

Promise<void>

The response from the upload piece.