Easy way to get 15 free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Bye WebSockets! Boost Web Comms with Rust and WebTransport

Follow
Dario

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

Code: https://github.com/securityunion/yew...
Website: https://securityunion.github.io/yew...

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

To build the Rust WebTransport client, I used wasmbindgen. 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 wasmbindgen, a Rust library for interacting with JavaScript. With WebTransport support, you can now use wasmbindgen to build fast, lowlatency 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 wasmbindgen!

0:00 WebSockets vs WebTransport
1:04 I built a rust webtransport client
1:28 Creating websys 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

posted by marmeriet5j