Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
pkg
public
src
.gitignore
Cargo.toml
Makefile.toml
README.md
index.html

README.md

Server interaction example

Example of communicating with a server using HTTP requests.

  • Using web-sys's fetch, and Serde's [de]serializiation.
  • Demonstrates sending and receiving Get and Post requests using web_sys's Fetch API, and updating state outside of the element events.

cargo make start

Open 127.0.0.1:8000 in your browser.

You can’t perform that action at this time.