MsendBeacon
Bun

method

Navigator.sendBeacon

url: string | URL,
data?: null | BodyInit
): boolean;

Referenced types

class URL

The URL interface represents an object providing static methods used for creating object URLs.

MDN Reference