From ad4649705b03a23fa4cbc7ebe044d48fe3b50109 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Tue, 8 Mar 2016 15:19:24 -0800 Subject: document torrent.addWebSeed --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') 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) -- cgit v1.2.3