awslabs / llrt

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
Apache License 2.0
8.11k stars 359 forks source link

HTTP & HTTPS Modules #40

Open m-rph opened 11 months ago

m-rph commented 11 months ago

Currently LLRT has no support for the HTTP and HTTPS modules from node.js.

The only way to do http calls is to rely on the fetch call.

LLRT should support HTTP and HTTPS modules with a select set of features:

https://nodejs.org/api/http.html https://nodejs.org/api/https.html

Advanced TLS capabilities should be omitted like custom certificate handling.

Size: Large

Chagrilled commented 4 months ago

@richarddavison it would be cool to get an indication of the direction on this - if it's not intended to be added, that's cool, but would mean modules will need to start incorporating fetch, as a lot use native http.

richarddavison commented 3 months ago

We should have them for sure. There are however a lot of dependencies on better streaming support for the http and https modules. We ship the web streams module from node but that is not performant with LLRT due to not being native.

paul-uz commented 3 months ago

What's the status on this? It's blocking a ton of packages being used.

paul-uz commented 1 month ago

Any updates?