#include <ug_http_client.h>
Public Member Functions | |
http_client (boost::asio::io_service &io_service, std::string url, std::ostream *log) | |
http_client (boost::asio::io_service &io_service, std::string const &server, std::string const &port, std::string const &path) | |
std::string | content () const |
std::string | error_msg () const |
Definition at line 26 of file ug_http_client.h.
Moses::http_client::http_client | ( | boost::asio::io_service & | io_service, | |
std::string | url, | |||
std::ostream * | log | |||
) |
Moses::http_client::http_client | ( | boost::asio::io_service & | io_service, | |
std::string const & | server, | |||
std::string const & | port, | |||
std::string const & | path | |||
) |
Definition at line 12 of file ug_http_client.cc.
std::string Moses::http_client::content | ( | ) | const |
Definition at line 9 of file ug_http_client.cc.
Referenced by main(), and sapt::query_bias_server().
std::string Moses::http_client::error_msg | ( | ) | const [inline] |
Definition at line 61 of file ug_http_client.h.
Referenced by sapt::query_bias_server().