OptionalheadersAdditional headers to pass on to the request.
OptionalhostSpecify the host config if the api call is a cross-domain request. Typically used in embedding and mashups
OptionalkeepaliveEnsure that the request is kept alive even if the page that initiated it is unloaded before the request is completed.
OptionalmaxOnly used cached results whose age in milliseconds are less than that or equal to maxCacheAge.
Optionalnoif set to true the call will not use a cached result
OptionalprogressOptions for progress-reporting. Specify any combination of the callbacks onUpload
and onDownload. Progress will be reported continuously.
OptionalsignalAn abort-signal lets you abort an ongoing fetch request. The abort-signal is created by taking the .signal property of an AbortController.
OptionaltimeoutSet 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.
OptionaluseOnly results cached on or after the ifCachedSince timestamp are used.
Additional options for an api call done with invoke-fetch