Public Types | Public Member Functions | List of all members
util::http::Client Class Reference

Public Types

using Response = boost::beast::http::response< boost::beast::http::dynamic_body >
 
using Verb = boost::beast::http::verb
 

Public Member Functions

 Client (IoContext *io_context)
 
boost::system::error_code Connect (StringPiece host, StringPiece service)
 
boost::system::error_code Send (Verb verb, StringPiece url, StringPiece body, Response *response)
 
boost::system::error_code Send (Verb verb, StringPiece url, Response *response)
 
void Shutdown ()
 
bool IsConnected () const
 
void set_connect_timeout_ms (uint32_t ms)
 
void AddHeader (std::string name, std::string value)
 

Detailed Description

Definition at line 22 of file http_client.h.


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