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(aResult<ReplyData, WebError>) for a success case.