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-11-23 23:31:50 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-11-23 23:31:50 +0300
commit15df286c513c8433990b0e71b256aeec6ede6e56 (patch)
tree0fe214a508327f9e16cabf4ef05954989cf4c912
parent2ea1940d2727061339e3d61eb5ee1344dc38c9b1 (diff)
document "file.downloaded"
-rw-r--r--docs/api.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index 7fcbaaf..0de88ea 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -460,6 +460,10 @@ File path, as specified by the torrent. *Example: 'some-folder/some-filename.txt
File length (in bytes), as specified by the torrent. *Example: 12345*
+## `file.downloaded`
+
+Total *verified* bytes received from peers, for this file.
+
## `file.select()`
Selects the file to be downloaded, but at a lower priority than files with streams.