Request.functions.isKeepalive
fx-fetch / Request / isKeepalive
Function: isKeepalive()
Section titled “Function: isKeepalive()”isKeepalive(
self):boolean
Defined in: packages/fx-fetch/src/Request/isKeepalive.ts:18
Checks if the request is keep-alive.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”boolean
Example
Section titled “Example”import { Request } from 'fx-fetch';
const request = Request.make({ url: 'https://api.example.com', keepalive: true });const keepalive = Request.isKeepalive(request);console.log(keepalive); // true0.1.0