GPUdb C++ API
Version 6.2.0.3
|
#include <gpudb/Http.hpp>
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 HttpUrl & | getUrl () 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 |
gpudb::StringHttpRequest::StringHttpRequest | ( | ) |
gpudb::StringHttpRequest::StringHttpRequest | ( | const HttpUrl & | url | ) |
const std::string* gpudb::StringHttpRequest::getRequestBody | ( | ) |
|
protectedvirtual |
Reimplemented from gpudb::HttpRequest.
void gpudb::StringHttpRequest::setRequestBody | ( | const std::string * | requestBody | ) |