Template Struct mimed

Struct Documentation

template<typename OutputT>
struct udho::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_type operator()(const ContextT &ctx, const OutputT &out)
std::string name() const

Public Members

std::string _mime