matrix-rust-sdk/crates/matrix-sdk/examples/wasm_command_bot
Damir Jelić 43011261a8 fix(sdk): Remove the room_send method from the Client
This method is a bit dangerous if the room is encrypted, e.g. people can
send events before the room state has been fetched and thus accidentally
send out unencrypted events in an encrypted room.
2021-09-15 10:36:58 +02:00
..
src fix(sdk): Remove the room_send method from the Client 2021-09-15 10:36:58 +02:00
.gitignore chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
Cargo.toml chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
README.md chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
index.js chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
package.json chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +02:00
webpack.config.js chore: Rename the crate folders to use dashes instead of underscores 2021-09-14 16:38:33 +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!

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