The HTTP server process is used to start the application in the web environment. It creates and manages the Node.js HTTP server instance, handling lifecycle events and monitoring.
const ignitor = new Ignitor()const httpProcess = new HttpServerProcess(ignitor)await httpProcess.start() Copy
const ignitor = new Ignitor()const httpProcess = new HttpServerProcess(ignitor)await httpProcess.start()
Creates a new HTTP server process instance
The ignitor instance used to create and manage the app
Start the HTTP server by wiring up the application
Optional
Optional callback to create custom HTTP server instance
The HTTP server process is used to start the application in the web environment. It creates and manages the Node.js HTTP server instance, handling lifecycle events and monitoring.
Example