Optional
headersAdditional headers to pass on to the request.
Optional
hostSpecify the host config if the api call is a cross-domain request. Typically used in embedding and mashups
Optional
keepaliveEnsure that the request is kept alive even if the page that initiated it is unloaded before the request is completed.
Optional
maxOnly used cached results whose age in milliseconds are less than that or equal to maxCacheAge
.
Optional
noif set to true the call will not use a cached result
Optional
progressOptions for progress-reporting. Specify any combination of the callbacks onUpload
and onDownload
. Progress will be reported continuously.
Optional
signalAn abort-signal lets you abort an ongoing fetch request. The abort-signal is created by taking the .signal property of an AbortController.
Optional
timeoutSet the amount of time to wait for a response. If the timeout is exceeded the request is aborted. If both timeoutMs and signal is present, timeoutMs will have no effect, as there is already an abort-signal specified.
Optional
useOnly results cached on or after the ifCachedSince
timestamp are used.
Additional options for an api call done with invoke-fetch