Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documention for torrent.addWebSeed #662

Merged
merged 1 commit into from Mar 8, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

document torrent.addWebSeed

  • Loading branch information
liamgray committed Mar 8, 2016
commit ad4649705b03a23fa4cbc7ebe044d48fe3b50109
@@ -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)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.