# ISocketProviderMetadata Interface
Module | import { ISocketProviderMetadata } from "@tsed/socketio" |
---|---|
Source | /packages/socketio/src/interfaces/ISocketProviderMetadata.ts |
# Overview
interface ISocketProviderMetadata {
type: SocketProviderTypes;
error?: boolean;
namespace?: string;
injectNamespaces?: {
propertyKey: string;
nsp: string;
}[];
useBefore?: any[];
useAfter?: any[];
handlers: {
[propertyKey: string]: ISocketHandlerMetadata;
};
}
# Members
type: SocketProviderTypes;
error?: boolean;
namespace?: string;
injectNamespaces?: {
propertyKey: string;
nsp: string;
}[];
useBefore?: any[];
useAfter?: any[];
handlers: {
[propertyKey: string]: ISocketHandlerMetadata;
};
- 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