# PlatformExpressResponse Class platform express
Module | import { PlatformExpressResponse } from "@tsed/common" |
---|---|
Source | /packages/common/src/platform-express/services/PlatformExpressResponse.ts |
# Overview
class PlatformExpressResponse extends PlatformResponse {
/**
* Render a view from given data
* @param path
* @param options
*/
render(path: string, options?: any): Promise<string>;
}
# Members
render(path: string, options?: any): Promise<string>;
Render a view from given data
- 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