@drupflare/spool - v0.1.0
    Preparing search index...

    Type Alias BeaconEvent

    One request the worker held back: where it was going, what it carried and when it happened. A same-origin one leaves origin out. A request to another origin names it, with the vendor whose delay cap applies and, when deliver is sink, the server half forwards it.

    type BeaconEvent = {
        at: number;
        body: string;
        contentType: string;
        deliver?: "sink";
        method?: "GET";
        origin?: string;
        path: string;
        search?: string;
        until?: number;
        vendor?: string;
    }
    Index
    at: number

    epoch milliseconds on the device

    body: string
    contentType: string
    deliver?: "sink"

    sink sends the event to the server half in the flush; absent, the worker replays it to its URL

    method?: "GET"

    GET for a pixel beacon; absent means POST

    origin?: string

    the origin of a held cross-origin request; absent for the site's own

    path: string
    search?: string

    the query string of the original URL, with its leading ?

    until?: number

    epoch milliseconds after which the worker drops the event instead of sending it; never sent

    vendor?: string

    the collector entry that matched, which sets the age cap