ResilientRequestInit
Defined in: src/fetch.ts:71
Extends
Section titled “Extends”RequestInit
Properties
Section titled “Properties”
optionalbody?:BodyInit|null
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2041
A BodyInit object or null to set request’s body.
Inherited from
Section titled “Inherited from”RequestInit.body
cache?
Section titled “cache?”
optionalcache?:RequestCache
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2043
A string indicating how the request will interact with the browser’s cache to set request’s cache.
Inherited from
Section titled “Inherited from”RequestInit.cache
credentials?
Section titled “credentials?”
optionalcredentials?:RequestCredentials
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2045
A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request’s credentials.
Inherited from
Section titled “Inherited from”RequestInit.credentials
headers?
Section titled “headers?”
optionalheaders?:HeadersInit
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2047
A Headers object, an object literal, or an array of two-item arrays to set request’s headers.
Inherited from
Section titled “Inherited from”RequestInit.headers
integrity?
Section titled “integrity?”
optionalintegrity?:string
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2049
A cryptographic hash of the resource to be fetched by request. Sets request’s integrity.
Inherited from
Section titled “Inherited from”RequestInit.integrity
keepalive?
Section titled “keepalive?”
optionalkeepalive?:boolean
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2051
A boolean to set request’s keepalive.
Inherited from
Section titled “Inherited from”RequestInit.keepalive
method?
Section titled “method?”
optionalmethod?:string
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2053
A string to set request’s method.
Inherited from
Section titled “Inherited from”RequestInit.method
optionalmode?:RequestMode
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2055
A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request’s mode.
Inherited from
Section titled “Inherited from”RequestInit.mode
priority?
Section titled “priority?”
optionalpriority?:RequestPriority
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2056
Inherited from
Section titled “Inherited from”RequestInit.priority
redirect?
Section titled “redirect?”
optionalredirect?:RequestRedirect
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2058
A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request’s redirect.
Inherited from
Section titled “Inherited from”RequestInit.redirect
referrer?
Section titled “referrer?”
optionalreferrer?:string
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2060
A string whose value is a same-origin URL, “about:client”, or the empty string, to set request’s referrer.
Inherited from
Section titled “Inherited from”RequestInit.referrer
referrerPolicy?
Section titled “referrerPolicy?”
optionalreferrerPolicy?:ReferrerPolicy
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2062
A referrer policy to set request’s referrerPolicy.
Inherited from
Section titled “Inherited from”RequestInit.referrerPolicy
resilience?
Section titled “resilience?”
optionalresilience?:RequestResilience<Response>
Defined in: src/fetch.ts:72
signal?
Section titled “signal?”
optionalsignal?:AbortSignal|null
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2064
An AbortSignal to set request’s signal.
Inherited from
Section titled “Inherited from”RequestInit.signal
window?
Section titled “window?”
optionalwindow?:null
Defined in: site/node_modules/typescript/lib/lib.dom.d.ts:2066
Can only be null. Used to disassociate request from any Window.
Inherited from
Section titled “Inherited from”RequestInit.window