Skip to content

chrysn/wasm-websocket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust websocket demo in the browser

build and run with

$ cargo build --target=wasm32-unknown-emscripten
$ ln -sf target/wasm32-unknown-emscripten/debug/deps/wasm_websocket_demo-????????????????.js site.js
$ ln -sf target/wasm32-unknown-emscripten/debug/deps/wasm_websocket_demo-????????????????.wasm site.wasm
$ python3 -m http.server 9001