次の方法で共有


CachesUpdateOptionalParams interface

省略可能なパラメーター。

Extends

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