Boomcatch provides four extension points, which are invoked as a pipeline when a beacon request is received.
Those extension points, in order of invocation, are:
Validators: These functions are predicates, which can check that the request meets your specific requirements, then signal whether to continue processing or fail the request. One validator (permissive) is available by default.
In each case, extensions are loaded with
require, employing a two-pass approach to enable loading of custom extensions. The first attempt is made with the relevant extension directory prefixed to the module path. If that attempt throws, a second attempt is made using the specified module path verbatim. Thus, standard extensions will be loaded on the first attempt and custom extensions will be loaded on the second.