• Starts the server to listen on the specified port.

    Parameters

    • server: HoosatServer

      The server instance to start listening.

    • port: number

      The port number to listen on.

    • callback: (() => void)

      The callback function to be called when the server starts listening. This function does not receive any arguments.

        • (): void
        • Returns void

    Returns HoosatServer

    The server instance.

Generated using TypeDoc