# ISocketHandlerMetadata Interface
Module | import { ISocketHandlerMetadata } from "@tsed/socketio" |
---|---|
Source | /packages/socketio/src/interfaces/ISocketHandlerMetadata.ts |
# Overview
interface ISocketHandlerMetadata {
eventName?: string;
methodClassName: string;
useBefore?: any[];
useAfter?: any[];
parameters?: {
[key: number]: ISocketParamMetadata;
};
returns?: {
type: SocketReturnsTypes;
eventName: string;
};
}
# Members
eventName?: string;
methodClassName: string;
useBefore?: any[];
useAfter?: any[];
parameters?: {
[key: number]: ISocketParamMetadata;
};
returns?: {
type: SocketReturnsTypes;
eventName: string;
};
- 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