matrix-rust-sdk/matrix_sdk/examples/wasm_command_bot
2020-05-22 16:19:30 +02:00
..
src examples: Fix the wasm bot example. 2020-05-22 16:19:30 +02:00
.gitignore
Cargo.toml
index.js
package.json
README.md
webpack.config.js

Example usage of matrix-rust-sdk from WASM

You can build the example locally with:

npm install
npm run serve

and then visiting http://localhost:8080 in a browser should run the example!

Note: Encryption isn't supported yet

This example is loosely based off of this example, an example usage of fetch from wasm-bindgen.