Request for Review: Another small step on wasm compatibility (AsyncRead/AsyncWrite over websockets)

A little news on the WASM front. Rust-idiomatic web API’s are still scarce, and this week I tried to tackle one of them: WebSockets for convenient full duplex comms between servers and browsers. The result is a library that allows you to treat WebSockets as futures Streams or Sinks, or as Tokio AsyncRead and AsyncWrite which you can use Codecs on to get arbitrary rust structs to flow back and fort from the browser. The alpha of this library can be found here:

It needs review, so if you know one another about tokio impls and the like, please review. Review questions are in the readme for the project. Please open issues on the repository for review feedback.

Happy Coding!


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.