diff options
author | Liam Gray <liam.r.gray@gmail.com> | 2016-03-09 02:19:24 +0300 |
---|---|---|
committer | Liam Gray <liam.r.gray@gmail.com> | 2016-03-09 02:19:24 +0300 |
commit | ad4649705b03a23fa4cbc7ebe044d48fe3b50109 (patch) | |
tree | 3e5ac6a1759964c27e0f04c2e80f4df5cf042d32 /README.md | |
parent | f76e8875d24368c71ed560b253f3dd89669a2c7f (diff) |
document torrent.addWebSeed
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -412,6 +412,10 @@ Adds a peer to the underlying [bittorrent-swarm](https://github.com/feross/bitto Returns `true` if peer was added, `false` if peer was blocked by the loaded blocklist. +#### `torrent.addWebSeed(url)` + +Adds a web seed to the [bittorrent-swarm](https://github.com/feross/bittorrent-swarm) instance. + #### `torrent.select(start, end, [priority], [notify])` Selects a range of pieces to prioritize starting with `start` and ending with `end` (both inclusive) |