Interface: RequestInit
Defined in: types/desktop-engine.d.ts:4003
Properties
body?
optional body?: BodyInit | null;Defined in: types/desktop-engine.d.ts:4008
Not allowed for GET and HEAD
cache?
optional cache?: RequestCache;Defined in: types/desktop-engine.d.ts:4015
credentials?
optional credentials?: string;Defined in: types/desktop-engine.d.ts:4017
Accepted for compatibility, ignored
duplex?
optional duplex?: "half";Defined in: types/desktop-engine.d.ts:4010
Needed with a ReadableStream body, like in browsers
headers?
optional headers?: HeadersInit;Defined in: types/desktop-engine.d.ts:4006
method?
optional method?: string;Defined in: types/desktop-engine.d.ts:4005
GET by default
mode?
optional mode?: string;Defined in: types/desktop-engine.d.ts:4019
Accepted for compatibility, ignored
redirect?
optional redirect?: RequestRedirect;Defined in: types/desktop-engine.d.ts:4014
"follow" by default; "manual" resolves with the redirect response itself (3xx with a Location header)
signal?
optional signal?: AbortSignal | null;Defined in: types/desktop-engine.d.ts:4012
Aborting rejects fetch with signal.reason (an "AbortError" DOMException by default), or errors the body stream
