Documentation
    Preparing search index...

    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()
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Start the HTTP server by wiring up the application

      Parameters

      • OptionalserverCallback: (
            handler: (req: IncomingMessage, res: ServerResponse) => any,
        ) =>
            | Server<typeof IncomingMessage, typeof ServerResponse>
            | Server<typeof IncomingMessage, typeof ServerResponse>

        Optional callback to create custom HTTP server instance

      Returns Promise<void>