Skip to main content
Version: 3.11

SitemapRequestListOptions

Index

Properties

optionalmaxBufferSize

maxBufferSize?: number = 200

Maximum number of buffered URLs for the sitemap loading stream. If the buffer is full, the stream will pause until the buffer is drained.

optionalpersistStateKey

persistStateKey?: string

Key for persisting the state of the request list in the KeyValueStore.

optionalproxyUrl

proxyUrl?: string

Proxy URL to be used for sitemap loading.

optionalsignal

signal?: AbortSignal

Abort signal to be used for sitemap loading.

sitemapUrls

sitemapUrls: string[]

List of sitemap URLs to parse.

optionaltimeoutMillis

timeoutMillis?: number

Timeout for sitemap loading in milliseconds. If both signal and timeoutMillis are provided, either of them can abort the loading.