xmpp_p2p
    Preparing search index...

    Function startCli

    • Starts the CLI read-eval-print loop (REPL). Registers peer discovery listeners on the libp2p node, sets up the readline interface, outputs introductory help text, and processes incoming user inputs asynchronously.

      Parameters

      • libp2p: Libp2pNode

        The underlying P2P network node wrapper.

      • xmppNode: XmppNode

        The XMPP protocol manager node.

      Returns Promise<void>

      A promise resolving when the session has been started.