UpdateResult
Defined in: packages/core/src/agent/agent/api.ts:178
The result of Agent.update, extending PollForResponseResult with the request details and raw HTTP response from the call.
Extends
Section titled “Extends”Properties
Section titled “Properties”callResponse
Section titled “callResponse”callResponse:
object
Defined in: packages/core/src/agent/agent/api.ts:182
The raw HTTP response from the call endpoint.
body:
v2ResponseBody|v4ResponseBody|null
headers
Section titled “headers”headers:
HttpHeaderField[]
ok:
boolean
status
Section titled “status”status:
number
statusText
Section titled “statusText”statusText:
string
certificate
Section titled “certificate”certificate:
Certificate
Defined in: packages/core/src/agent/polling/types.ts:23
The certificate for the request, which can be used to verify the reply.
Inherited from
Section titled “Inherited from”PollForResponseResult.certificate
rawCertificate
Section titled “rawCertificate”rawCertificate:
Uint8Array
Defined in: packages/core/src/agent/polling/types.ts:27
The raw certificate bytes for the request.
Inherited from
Section titled “Inherited from”PollForResponseResult.rawCertificate
reply:
Uint8Array
Defined in: packages/core/src/agent/polling/types.ts:25
The reply bytes for the request.
Inherited from
Section titled “Inherited from”requestDetails?
Section titled “requestDetails?”
optionalrequestDetails:CallRequest
Defined in: packages/core/src/agent/agent/api.ts:180
The request details from the call, if available.