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:
Diffstat (limited to 'docs')
-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.