Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NestMicroservice

Hierarchy

Implements

  • any

Index

Constructors

constructor

Properties

Private applicationConfig

applicationConfig: ApplicationConfig

Private isInitHookCalled

isInitHookCalled: boolean = false

Private isInitialized

isInitialized: boolean = false

Private isTerminated

isTerminated: boolean = false

Private logger

logger: any = new Logger(NestMicroservice.name, true)

Private microserviceConfig

microserviceConfig: MicroserviceOptions

Private microservicesModule

microservicesModule: MicroservicesModule = new MicroservicesModule()

Private server

server: Server & CustomTransportStrategy

Private socketModule

socketModule: any = SocketModule ? new SocketModule() : null

Methods

close

  • close(): Promise<any>

Protected closeApplication

  • closeApplication(): Promise<any>

createServer

listen

  • listen(callback: function): void

listenAsync

  • listenAsync(): Promise<any>

registerListeners

  • registerListeners(): void

registerModules

  • registerModules(): Promise<any>

setIsInitHookCalled

  • setIsInitHookCalled(isInitHookCalled: boolean): void

setIsInitialized

  • setIsInitialized(isInitialized: boolean): void

setIsTerminated

  • setIsTerminated(isTerminaed: boolean): void

useGlobalFilters

useGlobalGuards

useGlobalInterceptors

useGlobalPipes

useWebSocketAdapter

Generated using TypeDoc