Skip to content

MockPendingHttpsOutcallOptions

Defined in: packages/pic/src/pocket-ic-types.ts:1018

Options for mocking a response to a pending HTTPS outcall.

optional additionalResponses: HttpsOutcallResponseMock[]

Defined in: packages/pic/src/pocket-ic-types.ts:1040

Additional responses to mock for the pending HTTPS outcall.

If non-empty, the total number of responses (one plus the number of additional responses) must be equal to the size of the subnet on which the canister making the HTTP outcall is deployed.


requestId: number

Defined in: packages/pic/src/pocket-ic-types.ts:1027

The HTTPS Outcall request Id to mock a response for.


response: HttpsOutcallResponseMock

Defined in: packages/pic/src/pocket-ic-types.ts:1032

The response to mock for the pending HTTPS outcall.


subnetId: Principal

Defined in: packages/pic/src/pocket-ic-types.ts:1022

The subnet ID to that the HTTPS Outcall is being sent from.