Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mununki/rust_hello_server
A tiny example of web server built by Rust from Rust book
https://github.com/mununki/rust_hello_server
Last synced: 10 days ago
JSON representation
A tiny example of web server built by Rust from Rust book
- Host: GitHub
- URL: https://github.com/mununki/rust_hello_server
- Owner: mununki
- Created: 2019-02-23T15:08:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T16:41:32.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T03:22:05.864Z (8 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Hello Web Server
This is a tiny example to build the web server with Rust from Rust Book.
## Usage
### Run server
```shell
$ cargo run
```### Try to connect to `http://127.0.0.1:7878`
- `/` : response `Hello.html`
- `/sleep` : response `Hello.html` after 5 sec.
- other routes : response `404.html`