Skip to content

findPieceHandler

findPieceHandler(pieceCid, found, options?): HttpHandler

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

Creates a handler for finding pieces

Parameter Type
pieceCid string
found boolean
options PDPMockOptions

HttpHandler