Skip to main content

FetchEvent

BFChainInterfaceFetchEventLess than 1 minute

Inherits from Eventopen in new window;

import { FetchEvent } from "@plaoc/plugins";

Properties

  • plugin

    The property value is the dwebServiceWorker object;

  • request

    The property value is the Requestopen in new window object;

  • clientId

    The property value is a string or null;

  • public_url

    The property value is a string, or a Promise that resolves to a string;

Methods

Events

  • None

Example

import { FetchEvent } from "@plaoc/plugins";

const event = new FetchEvent("fetch", {
  request: toRequest(ipcRequest),
  clientId: ipcRequest.req_id.toString(), 
});

Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
pluginX
requestX
clientIdX
public_urlX
respondWithX

Interface

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7