SharedOptions interface

Options that can be specified for a requested issued to the Azure Cosmos DB servers.=

Properties

abortSignal

abortSignal to pass to all underlying network requests created by this method call. See https://developer.mozilla.org/en-US/docs/Web/API/AbortController

initialHeaders

(Advanced use case) Initial headers to start with when sending requests to Cosmos

sessionToken

Enables/disables getting document container quota related stats for document container read requests.

Property Details

abortSignal

abortSignal to pass to all underlying network requests created by this method call. See https://developer.mozilla.org/en-US/docs/Web/API/AbortController

abortSignal?: AbortSignal

Property Value

AbortSignal

initialHeaders

(Advanced use case) Initial headers to start with when sending requests to Cosmos

initialHeaders?: CosmosHeaders

Property Value

sessionToken

Enables/disables getting document container quota related stats for document container read requests.

sessionToken?: string

Property Value

string