findPieceHandler
findPieceHandler(
pieceCid,found,options?):HttpHandler
Defined in: packages/synapse-core/src/mocks/pdp.ts:41
Creates a handler for finding pieces
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pieceCid |
string |
found |
boolean |
options |
PDPMockOptions |
Returns
Section titled “Returns”HttpHandler