mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
* info how to run webserver with non-EOL python3 * example how to send and receive binary messages over websockets
WebSockets Example
View documentation for this example online or View compiled example online
You can build the example locally with:
$ wasm-pack build --target web
Then serve the statics and navigate to host:port
# static server from https://crates.io/crates/https
http
# or use python
python2 -m SimpleHTTPServer
python3 -m http.server