Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGenericHooks

Hierarchy

  • IGenericHooks

Index

Methods

Methods

Optional after

  • after(params?: Params): void
  • After resolving

    example:

    /user:id => params.id

    Parameters

    • Optional params: Params

      Params of the path

    Returns void

Optional before

  • before(done: function, params?: Params): void
  • Before to resolve the route

    example:

    /user:id => params.id

    Parameters

    • done: function

      To execute when finish async operation with done()

        • (suppress?: boolean): void
        • Parameters

          • Optional suppress: boolean

          Returns void

    • Optional params: Params

      Params of the path,

    Returns void

Generated using TypeDoc