# IInterceptor Interface
Module | import { IInterceptor } from "@tsed/di" |
---|---|
Source | /packages/di/src/interfaces/IInterceptor.ts |
# Overview
interface IInterceptor {
/**
* @deprecated Use intercept instead.
*/
aroundInvoke?(context: IInterceptorContext<any>, options?: any): any;
intercept?(context: IInterceptorContext<any>, next?: IInterceptorNextHandler): any;
}
# Members
aroundInvoke?(context: IInterceptorContext<any>, options?: any): any;
intercept?(context: IInterceptorContext<any>, next?: IInterceptorNextHandler): any;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing