Skip to main content

Crate actus_reply

Crate actus_reply 

Source
Expand description

Response types and the reply! macro for the Actus framework.

Re-exports§

pub use finalizer::Finalizer;
pub use reply::BodyStream;
pub use reply::ProblemDetails;
pub use reply::Reply;
pub use reply::ReplyData;
pub use reply::ReplySpec;
pub use reply::SseEvent;
pub use reply::WebError;
pub use reply::build_reply;
pub use reply::bytes;
pub use reply::empty;
pub use reply::json;
pub use reply::sse;
pub use reply::stream;
pub use reply::try_json;

Modules§

finalizer
Contains the Finalizer, which converts a ReplyData into a real HTTP response.
prelude
Convenience prelude for downstream crates and applications.
reply
Contains the user-facing API for creating replies.

Macros§

reply
Creates a Reply (a Result<ReplyData, WebError>) for a success case.