Interface: RequestInit
Defined in: types/desktop-engine.d.ts:5439
Properties
body?
optional body?: BodyInit | null;Defined in: types/desktop-engine.d.ts:5444
Not allowed for GET and HEAD
cache?
optional cache?: RequestCache;Defined in: types/desktop-engine.d.ts:5451
credentials?
optional credentials?: string;Defined in: types/desktop-engine.d.ts:5453
Accepted for compatibility, ignored
duplex?
optional duplex?: "half";Defined in: types/desktop-engine.d.ts:5446
Needed with a ReadableStream body, like in browsers
headers?
optional headers?: HeadersInit;Defined in: types/desktop-engine.d.ts:5442
method?
optional method?: string;Defined in: types/desktop-engine.d.ts:5441
GET by default
mode?
optional mode?: string;Defined in: types/desktop-engine.d.ts:5455
Accepted for compatibility, ignored
redirect?
optional redirect?: RequestRedirect;Defined in: types/desktop-engine.d.ts:5450
"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:5448
Aborting rejects fetch with signal.reason (an "AbortError" DOMException by default), or errors the body stream
