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:
authorFeross Aboukhadijeh <feross@feross.org>2016-03-01 07:36:18 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-03-01 07:36:18 +0300
commit085f9a0a2b8625fa1bbdf180ea1647b2d81b410d (patch)
tree053773b44b1677405f585bafa5e6b3d014c8e022
parent3fb4e3278dd3ce45aa3c28e588ed9113491b26c4 (diff)
readme: add getAnnounceOpts
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4194234..e75b059 100644
--- a/README.md
+++ b/README.md
@@ -272,9 +272,10 @@ If `opts` is specified, then the default options (shown below) will be overridde
```js
{
- announce: [], // Torrent trackers to use (added to list in .torrent or magnet uri)
- path: String, // Folder to download files to (default=`/tmp/webtorrent/`)
- store: Function // Custom chunk store (must follow [abstract-chunk-store](https://www.npmjs.com/package/abstract-chunk-store) API)
+ announce: [], // Torrent trackers to use (added to list in .torrent or magnet uri)
+ getAnnounceOpts: function, // Custom callback to allow sending extra parameters to the tracker
+ path: String, // Folder to download files to (default=`/tmp/webtorrent/`)
+ store: Function // Custom chunk store (must follow [abstract-chunk-store](https://www.npmjs.com/package/abstract-chunk-store) API)
}
```