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:
authorAsh <ashlesscinder@gmail.com>2017-06-01 22:28:10 +0300
committerAsh <ashlesscinder@gmail.com>2017-06-01 22:28:10 +0300
commit33397267f84eff456cc585aae86a58b52a6854b8 (patch)
tree7ca3475e48f2459c12df8d6d75c9a1fee552393f /docs
parent0774a2c816283d23ee6abd4e941f771efc66287a (diff)
added file.progress property, along with documentation
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 e6805b6..cb713d8 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -469,6 +469,10 @@ File length (in bytes), as specified by the torrent. *Example: 12345*
Total *verified* bytes received from peers, for this file.
+## `file.progress`
+
+File download progress, from 0 to 1.
+
## `file.select()`
Selects the file to be downloaded, but at a lower priority than files with streams.