Hacker News new | ask | show | jobs
by matei_radu 1726 days 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