Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MiddlewareItem

It's for internal use only

.use( and .route( generate a MiddlewareItem and push it in appropriate stack.

Request handler iterate on this stacks, use MiddlewareItem.methods and MiddlewareItem.route to check if request match. If it match call MiddlewareItem.middleware

Hierarchy

  • MiddlewareItem

Index

Properties

Properties

methods

methods: string[]

middleware

middleware: Middleware

route

route: Return

Generated using TypeDoc