Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`