init
method:bootstrapModule - the init module which use as entry point, contains references to other modules if needed.rootPath - Server uri prefix
authProvider - the authorization services, more on that on Authorization sectionhttpsConfiguration - configuration for setting the connection as https (mostly use for - {cert:certificatePath,key:keyPath})
getServer()
, this method will return the common server application which will allow you to use .get
,.put
,.use
etc..initializeFrom
methodHttpServer.initializeFrom(sourceApp: TServer, bootstrapModule: any, authProvider?: TNewable<AuthProvider>)
TServer - http.Server | https.Server | { listen: (...args) => any }