sdk-rust/example-projects/reqwest-wasm-example
slinkydeveloper c57be0b99b Node example now builds
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
2021-06-28 16:39:33 +02:00
..
src New feature: cloudevents-reqwest 2021-06-25 10:12:23 -04:00
.gitignore Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00
Cargo.toml New feature: cloudevents-reqwest 2021-06-25 10:12:23 -04:00
README.md Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00
index.html Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00
index.js Node example now builds 2021-06-28 16:39:33 +02:00
package-lock.json Node example now builds 2021-06-28 16:39:33 +02:00
package.json Node example now builds 2021-06-28 16:39:33 +02:00
webpack.config.js Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00

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.