Skip to content

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.

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: HttpHeaderField[]

ok: boolean

status: number

statusText: string


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.

PollForResponseResult.certificate


rawCertificate: Uint8Array

Defined in: packages/core/src/agent/polling/types.ts:27

The raw certificate bytes for the request.

PollForResponseResult.rawCertificate


reply: Uint8Array

Defined in: packages/core/src/agent/polling/types.ts:25

The reply bytes for the request.

PollForResponseResult.reply


optional requestDetails: CallRequest

Defined in: packages/core/src/agent/agent/api.ts:180

The request details from the call, if available.