dougmoscrop / serverless-http

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

Is serverless-http support default node js http? #237

Closed GuckTubeYT closed 1 year ago

GuckTubeYT commented 2 years ago

Is serverless-http support default node js http? const http = require("http")

dougmoscrop commented 2 years ago

I haven't tried it, but I wouldn't be surprised if it did. Happy to add it if there are tests.

jlarmstrongiv commented 1 year ago

Nope, unfortunately, it throws an error about an Unsupported framework.

The closest example I could find was https://github.com/JamesKyburz/aws-lambda-http-server

dougmoscrop commented 1 year ago

Okay, I added detection and a simple test for http.createServer and released it in v3.1.0