node-archiver icon indicating copy to clipboard operation
node-archiver copied to clipboard

Stream to client using RavenLambdaWrapper

Open risaac opened this issue 8 years ago • 0 comments

Hello,

I currently have a list of files sitting in an S3 bucket, I want to zip them and pipe the result to the client for download using streams. The thing is, that all examples I have seen online give me that option when I'm using express and have access to the response. With RavenLamdaWrapper all I have is the following

RavenLambdaWrapper.handler(Raven, (event, context, callback) => {

How can I achieve this without access to the response or am I missing something?

risaac avatar Aug 14 '18 21:08 risaac