drupflare/worker - v1.0.4
    Preparing search index...

    Variable PARK_TRAPSConst

    PARK_TRAPS: { fetch: readonly string[]; socket: readonly string[] } = ...

    The trap classes a site may arm.

    There is no http class: the shipping interpreter has no curl, so cfw_park_trap('curl_exec') answers false. Trapping fopen cannot work either: HttpsStreamWrapper is userland called from the internal fopen, so park_refused() declines (its C locals cannot survive the longjmp). The fetch class instead gives the module's own userland handler a yield point.

    Type Declaration

    • Readonlyfetch: readonly string[]
    • Readonlysocket: readonly string[]