MockPendingHttpsOutcallOptions
Defined in: pocket-ic-types.ts:847
Options for mocking a response to a pending HTTPS outcall.
Properties
Section titled “Properties”additionalResponses?
Section titled “additionalResponses?”
optional
additionalResponses:HttpsOutcallResponseMock
[]
Defined in: pocket-ic-types.ts:869
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
Section titled “requestId”requestId:
number
Defined in: pocket-ic-types.ts:856
The HTTPS Outcall request Id to mock a response for.
response
Section titled “response”response:
HttpsOutcallResponseMock
Defined in: pocket-ic-types.ts:861
The response to mock for the pending HTTPS outcall.
subnetId
Section titled “subnetId”subnetId:
Principal
Defined in: pocket-ic-types.ts:851
The subnet ID to that the HTTPS Outcall is being sent from.