Skip to content

pullPiecesWithCaptureHandler

pullPiecesWithCaptureHandler(response, captureCallback, options): HttpHandler

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

Creates a handler that captures the request body and returns a response

ParameterType
responsePullResponse
captureCallback(request) => void
optionsPDPMockOptions

HttpHandler