express-rest-decorators - v1.0.0-rc.2
    Preparing search index...

    Function UseBefore

    • Attaches request-handler(s) to run BEFORE the route handler. Accepts both function-form (RequestHandler) and class-form (implements ExpressMiddlewareInterface). Multiple decorators append left-to-right.

      Parameters

      • ...handlers: Function[]

      Returns ClassDecorator & MethodDecorator