docs(examples): add proxy example

This commit is contained in:
Ahmed Charles
2018-09-26 22:11:12 +00:00
committed by Sean McArthur
parent 5c3415d704
commit 9fa721df9e
3 changed files with 51 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ parses it with serde and outputs the result.
* [`params`](params.rs) - A webserver that accept a form, with a name and a number, checks the parameters are presents and validates the input.
* [`proxy`](proxy.rs) - A webserver that proxies to the hello service above.
* [`send_file`](send_file.rs) - A server that sends back content of files using tokio_fs to read the files asynchronously.
* [`state`](state.rs) - A webserver showing basic state sharing among requests. A counter is shared, incremented for every request, and every response is sent the last count.