Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BeforeHandler

Executed before endpoint handlers but after global before-handlers; second to be executed.

Hierarchy

Index

Methods

Methods

exec

when

  • Sets a filter on this handler. If the predicate fails, all executors registered after this filter won't run.

    Parameters

    • filter: function

      A predicate that accepts a FloofRequest.

    Returns BeforeHandler

    This handler, for the sake of chaining.

Generated using TypeDoc