Rocket/examples
Sergio Benitez 8c0d11feab Completely new raw API.
Summary of changes:

  * Request no longer has a lifetime parameter.
  * Handler type now includes a `Data` parameter.
  * Response is now an enum that is either `Complete` or `Forward`.
  * Outcome enum is now one of: Success, Failure, Forward.
  * Outcome::Foward for Responses must include StatusCode.
  * Responders are now final: they cannot forward to requests. (!!)
  * Responsers may only forward to catchers. (!!)
  * Response no longer provides wrapping methods.
  * Route is now cloneable.

This change is fundamental to enabling streaming requests.
2016-10-07 23:20:49 -07:00
..
config Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
content_types Allow different lifetimes in handler Request reference and its contents. 2016-10-06 20:38:13 -07:00
cookies Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
errors Make the `uri` parameter in Request private. 2016-10-06 00:08:00 -07:00
extended_validation Move the form module under request and outcome to top-level. 2016-10-07 19:27:50 -07:00
form_kitchen_sink Move the form module under request and outcome to top-level. 2016-10-07 19:27:50 -07:00
forms Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
from_request Completely new raw API. 2016-10-07 23:20:49 -07:00
handlebars_templates Move the form module under request and outcome to top-level. 2016-10-07 19:27:50 -07:00
hello_person Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
hello_ranks Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
hello_world Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
json Move the form module under request and outcome to top-level. 2016-10-07 19:27:50 -07:00
manual_routes Completely new raw API. 2016-10-07 23:20:49 -07:00
optional_redirect Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
optional_result Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
query_params Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
redirect Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
static_files Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
stream Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
testing Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
todo Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00