# IInterceptorContext Interface
Module | import { IInterceptorContext } from "@tsed/di" |
---|---|
Source | /packages/di/src/interfaces/IInterceptorContext.ts |
# Overview
interface IInterceptorContext<T> {
target: T;
propertyKey: string;
args: any[];
next: IInterceptorNextHandler;
options?: any;
/**
* @deprecated
*/
method: string;
/**
* @deprecated
*/
proceed<T>(err?: Error): T;
}
# Members
target: T;
propertyKey: string;
args: any[];
next: IInterceptorNextHandler;
options?: any;
method: string;
proceed<T>(err?: Error): T;
- 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