Template Struct mimed¶
Defined in File compositors.h
Struct Documentation¶
-
template<typename
OutputT>
structudho::compositors::mimed¶ mimed content. The returned output will be sent with the given mime type
Public Types
-
typedef boost::beast::http::response<boost::beast::http::string_body>
response_type¶
Public Functions
-
mimed(const std::string &mime)¶
-
template<typename
ContextT>
response_typeoperator()(const ContextT &ctx, const OutputT &out)¶
-
std::string
name() const¶
Public Members
-
std::string
_mime¶
-
typedef boost::beast::http::response<boost::beast::http::string_body>