Class MiddlewareRegistry

Holds all the middleware that will be applied to incoming HTTP requests before or after calling endpoint methods.

Hierarchy

  • MiddlewareRegistry

Constructors

Accessors

Methods

  • Add an authentication filter.

    Parameters

    Returns void

    Throws

    If the authFilter parameter is null or undefined.

  • Adds an error interceptor.

    Parameters

    Returns void

    Throws

    If the errorInterceptor parameter is null or undefined.

Generated using TypeDoc