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
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
options | UploadPieceOptions | The options for the upload piece. |
Returns
Section titled “Returns”Promise<void>
The response from the upload piece.