DiagPlugin

DiagPlugin

Plugin responsible for adding an 'X-Ripe-Sdk-Version' Header for all RIPE SDK requests for diagnostics purposes rules.

Constructor

new DiagPlugin(options)

Source:
Parameters:
Name Type Description
options Object An object with options to configure the plugin.

Extends

  • Plugin

Methods

register(The)

The Diag Plugin binds the 'build_request' event in order to add the 'X-Ripe-Sdk-Version' header.
Source:
Parameters:
Name Type Description
The Ripe Ripe instance in use.

unregister(The)

The unregister to be called (by the owner) the plugins unbinds events and executes any necessary cleanup operation.
Source:
Parameters:
Name Type Description
The Ripe Ripe instance in use.