14 header( std::string k, std::string v )
15 :key(
std::move(k)),val(
std::move(v)){}
33 InternalServerError = 500
44 std::string get_header(
const std::string& key )
const;
66 http::reply request(
const std::string& method,
const std::string&
url,
const std::string& body = std::string(),
const headers& =
headers());
75 std::unique_ptr<impl> my;
std::vector< header > parse_urlencoded_params(const std::string &f)
std::vector< header > headers
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Defines types and macros used to provide reflection.
std::shared_ptr< connection > connection_ptr
boost::asio::ip::tcp::endpoint endpoint
std::string remote_endpoint
std::vector< header > headers
std::string body_as_string
std::vector< header > headers