NestMiddleware


interface NestMiddleware<TRequest = any, TResponse = any> {
  use(req: TRequest, res: TResponse, next: (error?: any) => void): any
}

See also

Methods

use()


use(req: TRequest, res: TResponse, next: (error?: any) => void): any

Parameters

Option Type Description
req TRequest
res TResponse
next (error?: any) => void

Returns

any