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
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
response | PullResponse |
captureCallback | (request) => void |
options | PDPMockOptions |
Returns
Section titled “Returns”HttpHandler