Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INestApplication

Hierarchy

Index

Methods

close

  • close(): Promise<void>

connectMicroservice

enableCors

enableShutdownHooks

get

  • get<TInput, TResult>(typeOrToken: Type<TInput> | Abstract<TInput> | string | symbol, options?: object): TResult

getHttpAdapter

getHttpServer

  • getHttpServer(): any

getMicroservices

init

  • init(): Promise<this>

listen

  • listen(port: number | string, callback?: function): Promise<any>
  • listen(port: number | string, hostname: string, callback?: function): Promise<any>

listenAsync

  • listenAsync(port: number | string, hostname?: string): Promise<any>

select

setGlobalPrefix

  • setGlobalPrefix(prefix: string): this

startAllMicroservices

  • startAllMicroservices(callback?: function): this

startAllMicroservicesAsync

  • startAllMicroservicesAsync(): Promise<void>

use

  • use(...args: any[]): this

useGlobalFilters

useGlobalGuards

useGlobalInterceptors

useGlobalPipes

useLogger

useWebSocketAdapter

Generated using TypeDoc