Fake Mirrors
    Preparing search index...

    Class NativeHttpServer

    Native-based http-server implementation.

    This server uses native Node.js http and WebSocket ws modules to handle HTTP requests and WebSocket connections.

    Implements

    • Starts the server and begins accepting connections.

      Returns Promise<void>

      LifecycleError If the server cannot be started.

    • Stops the server and closes all active connections.

      Returns Promise<void>

      LifecycleError If the server cannot be stopped.

    • Registers the http-server as a singleton in the DI container.

      Parameters

      • container: DIContainer

        The DI container to register in.

      Returns void