bittorrent-tracker/test
Feross Aboukhadijeh 2966165a8f BREAKING: Client() takes single opts object now
To use the client, you used to pass in four arguments:

`new Client(peerId, port, parsedTorrent, opts)`

Now, passing in the torrent is no longer required, just the `announce`
and `infoHash` properties. This decouples this package from
`parse-torrent`.

All options get passed in together now:

new Client({
infoHash: '', // hex string or Buffer
peerId: '', // hex string or Buffer
announce: [], // list of tracker server urls
port: 6881 // torrent client port, (in browser, optional)
})

All the normal optional arguments (rtcConfig, wrtc, etc.) can still be
passed in with the rest of these options.

Fixes #118. Fixes #115.

Added ws tests for scrape.
2016-03-31 21:37:51 -07:00
..
client-large-torrent.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
client-magnet.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
client.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
common.js test: add test for ws tracker for filter tests 2016-02-29 17:39:03 -08:00
filter.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
querystring.js encode special characters @*/+ in http tracker urls 2014-12-17 21:18:46 -08:00
scrape.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00
server.js BREAKING: Client() takes single opts object now 2016-03-31 21:37:51 -07:00