Module: plugin

Plugin hooks setup module. Handles all Fastify hooks registration for CloudEvents.
Source:
Source:

Namespaces

fastifyCloudEvents
Plugin implementation.

Methods

(inner) setupHooks(fastifynon-null, optionsnon-null, buildersnon-null)

Setup and register all CloudEvent hooks with Fastify.

Setup and register all CloudEvent hooks with Fastify.
Parameters:
Name Type Description
fastify object Fastify instance
options object Hook configuration options
builders object Builders configuration options
Source:
Plugin: this module exports the plugin as an async function.
Source:
Source:

Namespaces

fastifyCloudEvents
Plugin implementation.

Methods

(inner) setupHooks(fastifynon-null, optionsnon-null, buildersnon-null)

Setup and register all CloudEvent hooks with Fastify.

Setup and register all CloudEvent hooks with Fastify.
Parameters:
Name Type Description
fastify object Fastify instance
options object Hook configuration options
builders object Builders configuration options
Source: