PendingHttpsOutcall
Defined in: packages/pic/src/pocket-ic-types.ts:879
A pending HTTPS outcall.
Properties
Section titled “Properties”body:
Uint8Array
Defined in: packages/pic/src/pocket-ic-types.ts:909
The body of the pending request.
headers
Section titled “headers”headers:
CanisterHttpHeader[]
Defined in: packages/pic/src/pocket-ic-types.ts:904
The headers of the pending request.
httpMethod
Section titled “httpMethod”httpMethod:
CanisterHttpMethod
Defined in: packages/pic/src/pocket-ic-types.ts:894
The HTTP method used for this request.
maxResponseBytes?
Section titled “maxResponseBytes?”
optionalmaxResponseBytes:number
Defined in: packages/pic/src/pocket-ic-types.ts:915
The maximum number of bytes expected in the response body that was set by the canister making the request.
requestId
Section titled “requestId”requestId:
number
Defined in: packages/pic/src/pocket-ic-types.ts:889
The HTTPS Outcall request Id. Use this Id when setting a mock response for this request.
subnetId
Section titled “subnetId”subnetId:
Principal
Defined in: packages/pic/src/pocket-ic-types.ts:883
The subnet ID to that the HTTPS Outcall is being sent from.
url:
string
Defined in: packages/pic/src/pocket-ic-types.ts:899
The target URL of the pending request.