Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FilterService

Filter service. Register and fire before and after filters.

Hierarchy

  • FilterService

Index

Properties

afters

afters: AfterHandlerFilter[] = []

befores

befores: BeforeHandlerFilter[] = []

name

name: string = "filter"

Methods

after

afterFilter

  • Do after filter chain. Give server a chance to do clean up jobs after request responsed. After filter can not change the request flow before. After filter should call the next callback to let the request pass to next after filter.

    Parameters

    Returns void

before

beforeFilter