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

Improve docs #694

Closed
wants to merge 10 commits into from
Prev

Fix broken link and add ways to specify a torrent

Fix broken link and add all available ways to specify a torrent directly to the page.
  • Loading branch information
FluorescentHallucinogen committed Mar 25, 2016
commit 155ca7bceb26b48997967dd232e1509e64003967
@@ -269,7 +269,14 @@ There are many supported streaming options:
--stdout standard out [implies --quiet]
```

In addition to magnet uris, webtorrent supports [many ways to specify a torrent](#clientaddtorrentid-opts-function-ontorrent-torrent-).
In addition to magnet uris, webtorrent supports many ways to specify a torrent:

- magnet uri (string)
- torrent file (buffer)
- info hash (hex string or buffer)
- parsed torrent (from [parse-torrent](https://github.com/feross/parse-torrent))
- http/https url to a torrent file (string)
- filesystem path to a torrent file (string)

### Modules

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.