dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.74k stars 167 forks source link

Explore using http.IncomingMessage and http.OutgoingMessage #8

Closed dougmoscrop closed 7 years ago

dougmoscrop commented 7 years ago

Tradeoffs between node-mocks-http and just using the 'actual' objects.

dougmoscrop commented 7 years ago

Seems to work well - this was better than relying on node-mocks-http to model the core behavior of req/res.