sdk-rust/example-projects/reqwest-wasm-example
Jim Crossley 432259bd26
De-workspace-ification (#135)
Now that we've refactored the protocol bindings from crates to
feature-guarded modules (PR #131), we can remove the workspaces for
those crates.

Signed-off-by: Jim Crossley <jim@crossleys.org>
2021-06-30 14:13:41 +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 De-workspace-ification (#135) 2021-06-30 14:13:41 +02: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.