通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CachesUpdateOptionalParams interface

可选参数。

扩展

RequestOptionsBase

属性

abortSignal

可用于中止请求的信号。

cache

包含缓存的用户可选择属性的对象。 如果包含只读属性,它们必须与这些属性的现有值匹配。

customHeaders

{object}[customHeaders]将在发送请求之前应用的用户定义的自定义请求标头。

onDownloadProgress

下载进度触发的回调。

onUploadProgress

上传进度时触发的回调。

timeout

请求在自动终止之前可能需要的毫秒数。

属性详细信息

abortSignal

可用于中止请求的信号。

abortSignal?: AbortSignalLike

属性值

AbortSignalLike

cache

包含缓存的用户可选择属性的对象。 如果包含只读属性,它们必须与这些属性的现有值匹配。

cache?: Cache

属性值

customHeaders

{object}[customHeaders]将在发送请求之前应用的用户定义的自定义请求标头。

customHeaders?: undefined | [key: string]: string

属性值

undefined | [key: string]: string

onDownloadProgress

下载进度触发的回调。

onDownloadProgress?: undefined | (progress: TransferProgressEvent) => void

属性值

undefined | (progress: TransferProgressEvent) => void

onUploadProgress

上传进度时触发的回调。

onUploadProgress?: undefined | (progress: TransferProgressEvent) => void

属性值

undefined | (progress: TransferProgressEvent) => void

timeout

请求在自动终止之前可能需要的毫秒数。

timeout?: undefined | number

属性值

undefined | number