Yew :: websocket :: echo example

I am aware of

Is there a simple Yew + Websocket + Echo example somewhere? I am looking for something where client (browser) has a text area, types a message, sends it to server (via websocket), gets msgs back, and displays message.

This seems like a “minimal example” for yew + websocket, but I can’t seem to find it on either google or github.


I was just asking myself the same question.

The example “dashboard” uses websockets, and using that I could put an echo client together using Yew. I put my code to It’s not pretty but it works. Hope that helps.

1 Like

@anttisalonen This sample code looks great. Thanks!

@zeroexcuses @anttisalonen Could you update to yew 0.19?