WASI-HTTP (component model) support for WebAssembly module
Evolve the Wasm language module to support the WASI-HTTP interface so that a Wasm component that imports WASI-HTTP can run natively on Unit.
This is of course an entirely new module...
Current work can be found here.
Great progress! In the meantime we have published a Docker Image that provides the current state for early testings! I will push documentation to this thread. Please find the image on docker hub: https://hub.docker.com/r/nginx/unit-preview
To get started with the image pull it
docker pull nginx/unit-preview:wasm-wasi-http
The current implementation of wasm-wasi-http supports Wasm components! Make sure to load it as such. For more information check the README.
I have an initial wasi-http version of luw-echo-request.c