API
interface CommonEngineOptions {
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefined;
providers?: StaticProvider[] | undefined;
enablePerformanceProfiler?: boolean | undefined;
allowedHosts?: readonly string[] | undefined;
}
bootstrap
Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefinedA method that when invoked returns a promise that returns an ApplicationRef instance once resolved or an NgModule.
providers
StaticProvider[] | undefinedA set of platform level providers for all requests.
enablePerformanceProfiler
boolean | undefinedEnable request performance profiling data collection and printing the results in the server console.
allowedHosts
readonly string[] | undefinedA set of hostnames that are allowed to access the server.