Base class for verified-fetch plugins. This class provides a basic implementation of the FetchHandlerPlugin interface.

Subclasses should implement the canHandle and handle methods, and may override the codes and log properties.

If your plugin adds/edits the context supplied in handle, you should increment the context.modified property.

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

codes: number[] = []
log: Logger
pluginOptions: PluginOptions

Methods