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-14 23:07:01 +0300
committerAlex <alxmorais8@msn.com>2020-03-14 23:07:01 +0300
commit31f5166d9ee807d181ab547fcc58421ea85efdf5 (patch)
treecd4f678bad70df48c1b3c733a6603de22df70360 /docs
parent7a36c1d4788728653500b86751a0c7888bd31f46 (diff)
Add private attribute to docs
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index 843e5af..5fdac4a 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -89,6 +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)
store: Function // Custom chunk store (must follow [abstract-chunk-store](https://www.npmjs.com/package/abstract-chunk-store) API)
}
```