O3 Framework / FetchConfig
Defined in: packages/framework/esm-api/src/openmrs-fetch.ts:324
Omit<RequestInit, "body" | "headers">
optionalbody:string|FetchBody
Defined in: packages/framework/esm-api/src/openmrs-fetch.ts:326
optionalcache:RequestCache
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1924
A string indicating how the request will interact with the browser’s cache to set request’s cache.
Omit.cache
optionalcredentials:RequestCredentials
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1926
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.
Omit.credentials
optionalheaders:FetchHeaders
Defined in: packages/framework/esm-api/src/openmrs-fetch.ts:325
optionalintegrity:string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1930
A cryptographic hash of the resource to be fetched by request. Sets request’s integrity.
Omit.integrity
optionalkeepalive:boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1932
A boolean to set request’s keepalive.
Omit.keepalive
optionalmethod:string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1934
A string to set request’s method.
Omit.method
optionalmode:RequestMode
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1936
A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request’s mode.
Omit.mode
optionalpriority:RequestPriority
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1937
Omit.priority
optionalredirect:RequestRedirect
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1939
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.
Omit.redirect
optionalreferrer:string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1941
A string whose value is a same-origin URL, “about:client”, or the empty string, to set request’s referrer.
Omit.referrer
optionalreferrerPolicy:ReferrerPolicy
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1943
A referrer policy to set request’s referrerPolicy.
Omit.referrerPolicy
optionalsignal:null|AbortSignal
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1945
An AbortSignal to set request’s signal.
Omit.signal
optionalwindow:null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:1947
Can only be null. Used to disassociate request from any Window.
Omit.window