Skip to content

pullPiecesWithCaptureHandler

pullPiecesWithCaptureHandler(response, captureCallback, options?): HttpHandler

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

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

Parameter Type
response ReturnType
captureCallback (request) => void
options PDPMockOptions

HttpHandler