Leaf
    Preparing search index...
    • Attach a super peer, socket IO server instance, and an http server, so that http requests will be handled by socket IO and used to create a sync connection to the super peer.

      Parameters

      • superPeer: SuperPeer1
      • socketIoServer: Server<
            { data: (data: ArrayBuffer) => void },
            { data: (data: Uint8Array) => void },
        >
      • httpServer: Server

      Returns void