Moses::http_client Class Reference

#include <ug_http_client.h>

List of all members.

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


Detailed Description

Definition at line 26 of file ug_http_client.h.


Constructor & Destructor Documentation

Moses::http_client::http_client ( boost::asio::io_service &  io_service,
std::string  url,
std::ostream *  log 
)

Definition at line 22 of file ug_http_client.cc.

References HERE.

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.


Member Function Documentation

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:33:55 2017 for Moses by  doxygen 1.5.9