2016-11-02 17:48:43 +00:00
|
|
|
//! Types and traits to build and send responses.
|
|
|
|
//!
|
|
|
|
//! The return type of a Rocket handler can be any type that implements the
|
|
|
|
//! [Responder](trait.Responder.html) trait. This module contains several useful
|
|
|
|
//! types that implement this trait.
|
|
|
|
|
2016-03-28 09:34:09 +00:00
|
|
|
mod responder;
|
|
|
|
mod redirect;
|
2016-04-11 09:12:45 +00:00
|
|
|
mod with_status;
|
2016-09-12 01:57:04 +00:00
|
|
|
mod flash;
|
2016-09-12 08:51:02 +00:00
|
|
|
mod named_file;
|
2016-09-12 09:43:34 +00:00
|
|
|
mod stream;
|
2016-10-25 11:03:50 +00:00
|
|
|
mod response;
|
|
|
|
mod failure;
|
2016-03-28 09:34:09 +00:00
|
|
|
|
2016-10-25 11:03:50 +00:00
|
|
|
pub mod content;
|
2016-09-21 03:02:33 +00:00
|
|
|
|
2016-10-25 11:03:50 +00:00
|
|
|
pub use self::response::Response;
|
2016-10-25 09:17:49 +00:00
|
|
|
pub use self::responder::{Outcome, Responder};
|
2016-03-28 09:34:09 +00:00
|
|
|
pub use self::redirect::Redirect;
|
2016-04-11 09:12:45 +00:00
|
|
|
pub use self::with_status::StatusResponse;
|
2016-09-12 01:57:04 +00:00
|
|
|
pub use self::flash::Flash;
|
2016-09-12 08:51:02 +00:00
|
|
|
pub use self::named_file::NamedFile;
|
2016-09-12 09:43:34 +00:00
|
|
|
pub use self::stream::Stream;
|
2016-10-25 11:03:50 +00:00
|
|
|
pub use self::content::Content;
|
|
|
|
pub use self::failure::Failure;
|