Terminates the application (including NestApplication, Gateways, and each connected microservice)
Enables CORS (Cross-Origin Resource Sharing)
Enables the usage of shutdown hooks. Will call the
onApplicationShutdown function of a provider if the
process receives a shutdown signal.
The Nest application context instance
Returns an underlying HTTP adapter.
Returns an underlying, native HTTP server.
Returns array of the microservices connected to the NestApplication.
Initializes application. It is not mandatory to call this method directly.
Starts the application.
Starts the application (can be awaited).
Registers the prefix for the every HTTP route path
The prefix for the every HTTP route path (for example
Starts all connected microservices asynchronously
Optional callback function
Starts all connected microservices and can be awaited
A wrapper function around HTTP adapter method:
Registers exception filters as a global filters (will be used within every HTTP route handler)
Registers guards as a global guards (will be used within every HTTP route handler)
Registers interceptors as a global interceptors (will be used within every HTTP route handler)
Registers pipes as a global pipes (will be used within every HTTP route handler)
Sets custom logger service
Setup Ws Adapter which will be used inside Gateways.
Use, when you want to override default
Generated using TypeDoc