Skip to content

PendingHttpsOutcall

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

A pending HTTPS outcall.

body: Uint8Array

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

The body of the pending request.


headers: CanisterHttpHeader[]

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

The headers of the pending request.


httpMethod: CanisterHttpMethod

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

The HTTP method used for this request.


optional maxResponseBytes: number

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

The maximum number of bytes expected in the response body that was set by the canister making the request.


requestId: number

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

The HTTPS Outcall request Id. Use this Id when setting a mock response for this request.


subnetId: Principal

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

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


url: string

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

The target URL of the pending request.