diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-10-22 08:49:07 +0400 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-10-22 08:49:07 +0400 |
commit | 2a30d436e9a598dbe202cb1ca5a589f31bc42d9f (patch) | |
tree | 225cf40a99eff39b33da70ee31e6deea9a08670b /README.md | |
parent | 4bf71da5a68f2a6a0079ba5bf3d8009c2e797e8f (diff) |
readme: `client.seed` accepts Blob, Buffer, and arrays
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: |