wasm-bindgen/examples/websockets
GalvinGao 59883eaca6
Bump to 0.2.82 (#3002)
* Bump to 0.2.82

* chore: bump version in crates/shared/src/lib.rs in sync with crates/shared/Cargo.toml

* fix: update schema file hash
2022-07-25 10:06:53 -05:00
..
src Use Closure::new in examples (#2991) 2022-07-13 08:55:44 -05:00
Cargo.toml Bump to 0.2.82 (#3002) 2022-07-25 10:06:53 -05:00
index.html Typo (#2765) 2022-01-13 09:29:43 -06:00
index.js added websockets example 2019-06-01 15:40:32 +03:00
README.md Websockets binary msgs (#2109) 2020-04-28 13:16:54 -05:00

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