Base class for verified-fetch plugins. This class provides a basic implementation of the FetchHandlerPlugin interface.
FetchHandlerPlugin
Subclasses must implement the id property and the canHandle and handle methods. Subclasses may override the codes and log properties.
id
canHandle
handle
codes
log
If your plugin adds/edits the context supplied in handle, you should increment the context.modified property.
context.modified
Protected
Optional
Readonly
Base class for verified-fetch plugins. This class provides a basic implementation of the
FetchHandlerPlugin
interface.Subclasses must implement the
id
property and thecanHandle
andhandle
methods. Subclasses may override thecodes
andlog
properties.If your plugin adds/edits the context supplied in
handle
, you should increment thecontext.modified
property.