1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00

updated README formatting

This commit is contained in:
dowwie 2018-04-27 15:31:34 -04:00
parent e35f8031b1
commit a313accc55

View File

@ -1,4 +1,5 @@
This is a contrived example intended to illustrate a few important actix-web features. This is a contrived example intended to illustrate a few important actix-web features.
*Imagine* that you have a process that involves 3 steps. The steps here *Imagine* that you have a process that involves 3 steps. The steps here
are dumb in that they do nothing other than call an are dumb in that they do nothing other than call an
httpbin endpoint that returns the json that was posted to it. The intent here httpbin endpoint that returns the json that was posted to it. The intent here
@ -6,6 +7,7 @@ is to illustrate how to chain these steps together as futures and return
a final result in a response. a final result in a response.
Actix-web features illustrated here include: Actix-web features illustrated here include:
1. handling json input param 1. handling json input param
2. validating user-submitted parameters using the 'validator' crate 2. validating user-submitted parameters using the 'validator' crate
2. actix-web client features: 2. actix-web client features: