Creates the bridge for magnet links. Peers in a swarm see the user's address and what they fetch, and the transfer is not encrypted.
Optional
The download engine; without one the bridge reports itself unavailable.
A bridge with id torrent labelled downloads.
torrent
downloads
const bridge = createTorrentBridge(engine);const job = await bridge.resolve(parseLocator(magnetLink), { requester: 'shell' }); Copy
const bridge = createTorrentBridge(engine);const job = await bridge.resolve(parseLocator(magnetLink), { requester: 'shell' });
Creates the bridge for magnet links. Peers in a swarm see the user's address and what they fetch, and the transfer is not encrypted.