• Returns a function that attempts to gracefully close a http.Server instance.

    Parameters

    • server: Server<typeof IncomingMessage, typeof ServerResponse>

      http.Server instance to shut down.

    • Optional logger: Logger

      Optional logger.

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc