Skip to content

postPieceHandler

postPieceHandler(pieceCid, uuid?, options?): HttpHandler

Defined in: packages/synapse-core/src/mocks/pdp.ts:122

Creates a handler that supports only one pieceCid Returns a UUID for 201, or a CID for 200

ParameterType
pieceCidstring
uuid?string
options?PDPMockOptions

HttpHandler