# IHttpFactory Interface
Module | import { IHttpFactory } from "@tsed/common" |
---|---|
Source | /packages/common/src/platform-builder/decorators/httpServer.ts |
# Overview
interface IHttpFactory {
(target: Type<any>, targetKey: string, descriptor: TypedPropertyDescriptor<Function> | number): any;
/**
* @deprecated
* @returns {"https".Server}
*/
get(): Http.Server;
}
# Members
(target: Type<any>, targetKey: string, descriptor: TypedPropertyDescriptor<Function> | number): any;
get(): Http.Server;
- 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