mirror of
https://github.com/actix/examples
synced 2024-11-30 09:12:54 +01:00
89d2e4e3f7
* chore: fix typo for `run-in-thread` * chore: update some deps for examples |
||
---|---|---|
.. | ||
src | ||
static | ||
Cargo.toml | ||
README.md |
basics
Usage
server
cd examples/basics
cargo run
# Started http server: 127.0.0.1:8080
web client
- http://localhost:8080/
- http://localhost:8080/async-body/bob
- http://localhost:8080/user/bob/ text/plain download
- http://localhost:8080/test (return status switch GET or POST or other)
- http://localhost:8080/favicon
- http://localhost:8080/welcome
- http://localhost:8080/notexit display 404 page
- http://localhost:8080/error Panic after request