diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-03-01 07:36:18 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-03-01 07:36:18 +0300 |
commit | 085f9a0a2b8625fa1bbdf180ea1647b2d81b410d (patch) | |
tree | 053773b44b1677405f585bafa5e6b3d014c8e022 | |
parent | 3fb4e3278dd3ce45aa3c28e588ed9113491b26c4 (diff) |
readme: add getAnnounceOpts
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) } ``` |