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>2014-10-22 08:49:07 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-10-22 08:49:07 +0400
commit2a30d436e9a598dbe202cb1ca5a589f31bc42d9f (patch)
tree225cf40a99eff39b33da70ee31e6deea9a08670b /README.md
parent4bf71da5a68f2a6a0079ba5bf3d8009c2e797e8f (diff)
readme: `client.seed` accepts Blob, Buffer, and arrays
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 71e6b3a..9e5f93c 100644
--- a/README.md
+++ b/README.md
@@ -244,7 +244,10 @@ Start seeding a new torrent.
- path to the file or folder on filesystem (string)
- W3C [File](https://developer.mozilla.org/en-US/docs/Web/API/File) object (from an `<input>` or drag and drop)
- W3C [FileList](https://developer.mozilla.org/en-US/docs/Web/API/FileList) object (basically an array of `File` objects)
-- Array of `File` objects
+- W3C [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object
+- Node [Buffer](http://nodejs.org/api/buffer.html) object (works in [the browser](https://www.npmjs.org/package/buffer))
+
+Or, an **array of `File`, `Blob`, or `Buffer` objects**.
If `opts` is specified, it should contain the following types of options: