Interface: FetchRequestInit
Defined in: types.ts:53
The subset of RequestInit this package sends.
Properties
body?
optional body?: string | Blob | Uint8Array;
Defined in: types.ts:57
Kept to the three body kinds RSP uses so the real fetch stays assignable.
headers?
optional headers?: Record<string, string>;
Defined in: types.ts:55
method?
optional method?: string;
Defined in: types.ts:54
redirect?
optional redirect?: "error" | "follow" | "manual";
Defined in: types.ts:65
Only the reachability probe sets this, to 'manual'. A captive portal
answers with a redirect to its login page; following it yields a healthy
looking 200 that is not the server, which is precisely the confusion the
probe exists to end.
signal?
optional signal?: AbortSignal;
Defined in: types.ts:58