2#include <ossia/detail/json.hpp>
9 server_reply() =
default;
10 server_reply(
const rapidjson::StringBuffer& str)
11 : type{data_type::json}
12 , data{str.GetString(), str.GetSize()}
15 server_reply(std::string&& str)
16 : type{data_type::html}
17 , data{std::move(str)}