Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/@nestjs/core/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
import { INestApplication, INestApplicationContext, INestMicroservice } from '@nestjs/common'; import { NestMicroserviceOptions } from '@nestjs/common/interfaces/microservices/nest-microservice-options.interface'; import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface'; import { NestApplicationOptions } from '@nestjs/common/interfaces/nest-application-options.interface'; import { AbstractHttpAdapter } from './adapters/http-adapter'; /** * @publicApi */ export declare class NestFactoryStatic { private readonly logger; private abortOnError; private autoFlushLogs; /** * Creates an instance of NestApplication. * * @param module Entry (root) application module class * @param options List of options to initialize NestApplication * * @returns A promise that, when resolved, * contains a reference to the NestApplication instance. */ create<T extends INestApplication = INestApplication>(module: any, options?: NestApplicationOptions): Promise<T>; /** * Creates an instance of NestApplication with the specified `httpAdapter`. * * @param module Entry (root) application module class * @param httpAdapter Adapter to proxy the request/response cycle to * the underlying HTTP server * @param options List of options to initialize NestApplication * * @returns A promise that, when resolved, * contains a reference to the NestApplication instance. */ create<T extends INestApplication = INestApplication>(module: any, httpAdapter: AbstractHttpAdapter, options?: NestApplicationOptions): Promise<T>; /** * Creates an instance of NestMicroservice. * * @param moduleCls Entry (root) application module class * @param options Optional microservice configuration * * @returns A promise that, when resolved, * contains a reference to the NestMicroservice instance. */ createMicroservice<T extends object>(moduleCls: any, options?: NestMicroserviceOptions & T): Promise<INestMicroservice>; /** * Creates an instance of NestApplicationContext. * * @param moduleCls Entry (root) application module class * @param options Optional Nest application configuration * * @returns A promise that, when resolved, * contains a reference to the NestApplicationContext instance. */ createApplicationContext(moduleCls: any, options?: NestApplicationContextOptions): Promise<INestApplicationContext>; private createNestInstance; private initialize; private handleInitializationError; private createProxy; private createExceptionProxy; private createExceptionZone; private registerLoggerConfiguration; private createHttpAdapter; private isHttpServer; private setAbortOnError; private createAdapterProxy; private createGraphInspector; } /** * Use NestFactory to create an application instance. * * ### Specifying an entry module * * Pass the required *root module* for the application via the module parameter. * By convention, it is usually called `ApplicationModule`. Starting with this * module, Nest assembles the dependency graph and begins the process of * Dependency Injection and instantiates the classes needed to launch your * application. * * @publicApi */ export declare const NestFactory: NestFactoryStatic;