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
path: root/docs
diff options
context:
space:
mode:
authorAlex <alxmorais8@msn.com>2020-03-15 00:11:40 +0300
committerAlex <alxmorais8@msn.com>2020-03-15 00:11:40 +0300
commit1feb4b6f9aad2793c662c9fb55993edfa83f8079 (patch)
tree7b385ded17be43145e580a23daff51fd65ced17f /docs
parent31f5166d9ee807d181ab547fcc58421ea85efdf5 (diff)
Add tests for private option
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 5fdac4a..062343b 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -89,7 +89,7 @@ If `opts` is specified, then the default options (shown below) will be overridde
getAnnounceOpts: Function, // Custom callback to allow sending extra parameters to the tracker
maxWebConns: Number, // Max number of simultaneous connections per web seed [default=4]
path: String, // Folder to download files to (default=`/tmp/webtorrent/`)
- private: Boolean, // If true, client will not share the hash with the DHT or with other peers using peer exchange (PEX)
+ private: Boolean, // If true, client will not share the hash with the DHT nor with PEX (default is the privacy of the parsed torrent)
store: Function // Custom chunk store (must follow [abstract-chunk-store](https://www.npmjs.com/package/abstract-chunk-store) API)
}
```