Interface: ServerOptions
Defined in: service-core/src/Server.ts:32
The configuration options to use when constructing a new Server instance.
Properties
basePath?
optionalbasePath?:string
Defined in: service-core/src/Server.ts:36
The base file system path that models and routes will be searched from. Default is .
classLoader?
optionalclassLoader?:ClassLoader
Defined in: service-core/src/Server.ts:40
The ClassLoader used to scan the source for all exported classes.
config
config:
any
Defined in: service-core/src/Server.ts:34
The nconf-compatible configuration object to initialize the server with.
logger?
optionallogger?:any
Defined in: service-core/src/Server.ts:38
The logging utility to use for outputing to console/file. Default is Logger() from @rapidrest/core.
objectFactory?
optionalobjectFactory?:ObjectFactory
Defined in: service-core/src/Server.ts:42
The object factory to use for automatic dependency injection (IOC).