3 ms·
Hi, one of the maintainers here. We don’t have a WebSockets implementation for WASI yet (the WebAssembly System Interface), and in fact, WASI doesn’t have a net
by matei_radu 5y ago
Hi, one of the maintainers here.
We don’t have a WebSockets implementation for WASI yet (the WebAssembly System Interface), and in fact, WASI doesn’t have a networking implementation at all yet.
This is why we have been experimenting with the outbound HTTP implementation [1], which is available in WAGI.
In theory, you could take the same approach as here, with the difference that a WebSockets connection is persistent and long-running.
[1]: https://github.com/deislabs/wasi-experimental-http https://github.com/deislabs/wasi-experimental-http