matrix-rust-sdk/matrix_sdk/examples/wasm_command_bot
Tilo Spannagel a57c6159bd Fix travis ci errors
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2020-08-21 19:11:10 +02:00
..
src Rename CustomOrRawEvent -> CustomEvent and use raw json when failed 2020-08-04 17:27:57 -04:00
.gitignore examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
Cargo.toml Fix travis ci errors 2020-08-21 19:11:10 +02:00
README.md examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
index.js examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
package.json examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00
webpack.config.js examples: Rename to wasm_command_bot and add note about encryption 2020-05-12 16:10:55 +02:00

README.md

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.