GPUdb C++ API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::StringHttpRequest Class Reference

#include <gpudb/Http.hpp>

+ Inheritance diagram for gpudb::StringHttpRequest:
+ Collaboration diagram for gpudb::StringHttpRequest:

Public Member Functions

 StringHttpRequest ()
 
 StringHttpRequest (const HttpUrl &url)
 
const std::string * getRequestBody ()
 
void setRequestBody (const std::string *requestBody)
 
- Public Member Functions inherited from gpudb::HttpRequest
 HttpRequest ()
 
 HttpRequest (const HttpUrl &url)
 
boost::asio::ssl::context * getSslContext ()
 
const HttpUrlgetUrl () const
 
const std::string & getRequestMethod () const
 
const std::string & getRequestHeader (const std::string &key) const
 
std::map< std::string,
std::string > & 
getRequestHeaders ()
 
size_t getTimeout () const
 
void setSslContext (boost::asio::ssl::context *sslContext)
 
void setUrl (const HttpUrl &url)
 
void setRequestMethod (const std::string &method)
 
void addRequestHeader (const std::string &key, const std::string &value)
 
void setTimeout (const size_t timeout)
 
void send (HttpResponse &response)
 

Protected Member Functions

virtual void read (const void *&data, size_t &length) const
 

Additional Inherited Members

- Static Public Attributes inherited from gpudb::HttpRequest
static const std::string GET
 
static const std::string HEAD
 
static const std::string POST
 

Detailed Description

Definition at line 137 of file Http.hpp.

Constructor & Destructor Documentation

gpudb::StringHttpRequest::StringHttpRequest ( )
gpudb::StringHttpRequest::StringHttpRequest ( const HttpUrl url)

Member Function Documentation

const std::string* gpudb::StringHttpRequest::getRequestBody ( )
virtual void gpudb::StringHttpRequest::read ( const void *&  data,
size_t &  length 
) const
protectedvirtual

Reimplemented from gpudb::HttpRequest.

void gpudb::StringHttpRequest::setRequestBody ( const std::string *  requestBody)

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