Shows how to use matchbox_socket in a simple example.
- Run the matchbox-provided
matchbox_server(help), or run your own onws://localhost:3536/. - Run the demo
cargo runInstall the wasm32-unknown-unknown target
rustup target install wasm32-unknown-unknownInstall a lightweight web server
cargo install wasm-server-runnercargo run --target wasm32-unknown-unknown- Use a web browser and navigate to http://127.0.0.1:1334
- Open the console to see execution logs