Skip to content

Interface: BatchOperationRequest ​

Defined in: batch/batch-dispatch.ts:178

An operation to run through the application.

Properties ​

body? ​

readonly optional body?: string

Defined in: batch/batch-dispatch.ts:184


headers ​

readonly headers: Readonly<Record<string, string>>

Defined in: batch/batch-dispatch.ts:183

Request headers, as built by batchOperationHeaders.


method ​

readonly method: string

Defined in: batch/batch-dispatch.ts:179


remoteAddress? ​

readonly optional remoteAddress?: string

Defined in: batch/batch-dispatch.ts:186

Client address of the $batch request, so IP-based policies see the real client.


timeoutMs? ​

readonly optional timeoutMs?: number

Defined in: batch/batch-dispatch.ts:191

Milliseconds to wait for the operation's response; then the dispatch rejects with BatchOperationTimeoutError. Default: no limit.


url ​

readonly url: string

Defined in: batch/batch-dispatch.ts:181

Path and query, e.g. /odata/Products?$top=1.