Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Gray <liam.r.gray@gmail.com>2016-03-09 02:19:24 +0300
committerLiam Gray <liam.r.gray@gmail.com>2016-03-09 02:19:24 +0300
commitad4649705b03a23fa4cbc7ebe044d48fe3b50109 (patch)
tree3e5ac6a1759964c27e0f04c2e80f4df5cf042d32 /README.md
parentf76e8875d24368c71ed560b253f3dd89669a2c7f (diff)
document torrent.addWebSeed
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index edc7f78..bd3b8b0 100644
--- a/README.md
+++ b/README.md
@@ -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)