* Fixed cloudevents sdk to compile with wasm Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Fixed warning Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * cargo fmt Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Fixed Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Added cors to actix-web example Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> * Added reqwest wasm example Signed-off-by: Francesco Guardiani <francescoguard@gmail.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
index.html | ||
index.js | ||
package-lock.json | ||
package.json | ||
webpack.config.js |
README.md
Example usage of CLoudEvents sdk/Reqwest from WASM
Install the dependencies with:
npm install
Then build the example locally with:
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
, and from reqwest repo.