Type alias Interceptor

Interceptor: ((request: Request, response: Response, content: any) => any)

Type declaration

    • (request: Request, response: Response, content: any): any
    • An interceptor for the mapped routes. Executed after a successful route.

      Parameters

      • request: Request
      • response: Response
      • content: any

      Returns any

Generated using TypeDoc