HookController

HookController

Controller for Hooks (e.g., webhooks)

Constructor

new HookController()

Source:

Methods

init(config)

Source:

Initializes a new HookController

Parameters:
Name Type Description
config Object

configuration object

Properties
Name Type Attributes Default Description
server Esdi

Esdi server instance

hookServerPort Number <optional>
8587

port for Hook server

hookServerHost String <optional>
'localhost'

hostname for Hook server

hookServerTls Object | Boolean <optional>
false

false for HTTP, or object with paths to key and cert files for TLS

start()

Source:

Starts the HookController

Listens to Events:

stop()

Source:

Stops the HookController

Listens to Events: