Open m-rph opened 11 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
.
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.
What's the status on this? It's blocking a ton of packages being used.
Any updates?
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