- Run
cargo run
from theserver
directoy. - Run
npm run dev
from theclient
directory.
Server will send a message to the client (See the browser console).
Client will send exactly the same message to the server. This will cause the client to disconnect (See the terminal where the server is running).
The chat message is not received correctly by the server.