Skip to content

Progress-stream + multer #32

Open
Open

Description

@fmaxx

Do you know how to use this library with multer?
I've found an example, but it doesn't work for me:

app.post('/upload', function (req, res, next) {
var p = progress();
req.pipe(p);
p.headers = req.headers;
p.on('progress', function (status) {
console.log(status);
});
upload(p, res, function (err) {
res.send('Successfully uploaded files!')
});
});

Thanx!

Activity

  1. changed the title [-]Porgress-stream + multer[/-] [+]Progress-stream + multer[/+] on Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions