cb8d5ce8fb
When deserialization fails we fallback to providing the user with a serde_json::RawValue, basically the json string. Ruma should handle all events that conform to a matrix event shape correctly by either converting them to their type or returning a custom event. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
index.js | ||
package.json | ||
webpack.config.js |
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
.