How to use the bittorrent-protocol.call function in bittorrent-protocol

To help you get started, we’ve selected a few bittorrent-protocol examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PearInc / PearDownloader.js / src / lib / webconn.js View on Github external
function WebConn (url, torrent) {
  Wire.call(this)

  this.url = url
  this.webPeerId = Rusha.createHash().update(url).digest('hex')
  this._torrent = torrent

  this._init()
}

bittorrent-protocol

Simple, robust, BitTorrent peer wire protocol implementation

MIT
Latest version published 9 months ago

Package Health Score

69 / 100
Full package analysis

Popular bittorrent-protocol functions