finalizePieceUploadHandler
finalizePieceUploadHandler(
uuid,expectedPieceCid?,options?):HttpHandler
Defined in: packages/synapse-core/src/mocks/pdp.ts:144
Creates a handler for finalizing a streaming upload POST /pdp/piece/uploads/:uuid - finalize with PieceCID
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
uuid |
string |
expectedPieceCid? |
string |
options? |
PDPMockOptions |
Returns
Section titled “Returns”HttpHandler