Bye WebSockets! Boost Web Comms with Rust and WebTransport

1 year ago
26

In this video, I'll show you how I built a Rust WebTransport client and added WebTransport support to wasm-bindgen.

Code: https://github.com/security-union/yew-webtransport/tree/yew-webtransport-client-video
Website: https://security-union.github.io/yew-webtransport/

WebTransport is a new API that enables low-latency, bidirectional communication between web clients and servers. It's a great alternative to WebSocket, especially for applications that require reliable, low-latency communication.

To build the Rust WebTransport client, I used wasm-bindgen. I'll walk you through the steps I took to set up the client and connect to a WebTransport server.

Next, I'll show you how I added WebTransport support to wasm-bindgen, a Rust library for interacting with JavaScript. With WebTransport support, you can now use wasm-bindgen to build fast, low-latency web applications with a Rust backend.

If you're interested in building web applications with Rust and WebTransport, this video is for you. Watch now and learn how to build your own Rust WebTransport client and add WebTransport support to wasm-bindgen!

0:00 WebSockets vs WebTransport
1:04 I built a rust webtransport client
1:28 Creating web-sys bindings for web apis
2:40 Demo of the WebTransport client
3:57 Top 3 features of WebTransport
5:11 WebTransport will become a w3c standard

Loading comments...