Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Buffer and stream.Readable for client.seed #680

Merged
merged 2 commits into from Mar 16, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

added Buffer and stream.Readable for client.seed

Added few missing details from create-torrent
  • Loading branch information
MikeKovarik committed Mar 16, 2016
commit a20885962fef841f3f42138d2d2c9ed49a8adfac
@@ -325,7 +325,8 @@ Start seeding a new torrent.
- path to the file or folder on filesystem (string) (Node.js only)
- 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)
- Node [Buffer](https://nodejs.org/api/buffer.html) object (works in [the browser](https://www.npmjs.com/package/buffer))
- Node [Buffer](https://nodejs.org/api/buffer.html) object (works in [the browser](https://www.npmjs.com/package/buffer)) (must set a `name` property on it)
- Node [stream.Readable](http://nodejs.org/api/stream.html) object (must set `name` and `opt.pieceLength` properties on it)
Or, an **array of `string`, `File`, or `Buffer` objects**.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.