Rocket/examples
Sergio Benitez 44f5f1998d New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed.
This is a complete rework of `Responder`s and of the http backend in
general. This gets Rocket one step closer to HTTP library independence,
enabling many future features such as transparent async I/O, automatic
HEAD request parsing, pre/post hooks, and more.

Summary of changes:

  * `Responder::response` no longer takes in `FreshHyperResponse`.
    Instead, it returns a new `Response` type.
  * The new `Response` type now encapsulates a full HTTP response. As a
    result, `Responder`s now return it.
  * The `Handler` type now returns an `Outcome` directly.
  * The `ErrorHandler` returns a `Result`. It can no longer forward,
    which made no sense previously.
  * `Stream` accepts a chunked size parameter.
  * `StatusCode` removed in favor of new `Status` type.
  * `ContentType` significantly modified.
  * New, lightweight `Header` type that plays nicely with `Response`.
2016-12-15 00:47:31 -08:00
..
config Add config::get(), for global config access. Use it for Template. 2016-10-14 18:57:36 -07:00
content_types Rename data to content in response. Remove DataOutcome. 2016-10-25 13:03:50 +02:00
cookies Use handlebars so that message is escaped in cookies example. 2016-11-04 15:33:58 +01:00
errors Make the uri parameter in Request private. 2016-10-06 00:08:00 -07:00
extended_validation Fix examples for updates Redirect API. 2016-11-03 19:09:08 +01:00
form_kitchen_sink Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
forms New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
from_request New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
handlebars_templates Updates for latest nightly. Use Tera from main branch. 2016-10-08 19:27:33 -07:00
hello_alt_methods Implement streaming requests. 2016-10-09 04:29:02 -07:00
hello_person New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
hello_ranks New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
hello_world New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
json Remove non-streaming requests. Use streaming requests everywhere. 2016-10-12 00:14:42 -07:00
manual_routes New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08: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
pastebin Simplify pastebin retrieve handler. 2016-12-09 21:01:30 -08:00
query_params Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
raw_upload Move the data module into the top-level namespace. 2016-10-25 13:24:07 +02:00
redirect Use move builder pattern to launch Rocket apps. 2016-10-03 19:48:33 -07:00
static_files New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
stream Rename data to content in response. Remove DataOutcome. 2016-10-25 13:03:50 +02:00
testing New HTTP types: ContentType, Status. Responder/Handler/ErrorHandler changed. 2016-12-15 00:47:31 -08:00
todo Updated dependency versions. 2016-12-09 20:14:49 -08:00