Options
All
  • Public
  • Public/Protected
  • All
Menu

External module Types

Index

Type aliases

HandlerFn

HandlerFn: function

The function type for every endpoint and every middleware The next function will break the current function processing completely and will prosed with the nex middleware function

Type declaration

    • Parameters

      • Optional request: Request
      • Optional response: Response
      • Optional next: Function

      Returns void

Middleware

Middleware: Array<MiddlewareFunction>

MiddlewareFunction

MiddlewareFunction: HandlerFn | ContextHandlerFn