mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
implement File Handler API
This commit is contained in:
parent
6748cc0cb4
commit
7936f123c2
5 changed files with 227 additions and 3 deletions
|
@ -263,6 +263,7 @@ class Peer {
|
|||
this._fileHeaderRequested = header;
|
||||
let bytesCompleted = 0;
|
||||
|
||||
zipper.createNewZipWriter();
|
||||
for (let i=0; i<files.length; i++) {
|
||||
const entry = await zipper.addFile(files[i], {
|
||||
onprogress: (progress, total) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue