GPUdb C++ API
Version 7.0.19.0
|
#include <gpudb/Http.hpp>
Public Member Functions | |
BinaryHttpRequest () | |
BinaryHttpRequest (const HttpUrl &url) | |
const std::vector< uint8_t > * | getRequestBody () |
void | setRequestBody (const std::vector< uint8_t > *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::BinaryHttpRequest::BinaryHttpRequest | ( | ) |
gpudb::BinaryHttpRequest::BinaryHttpRequest | ( | const HttpUrl & | url | ) |
const std::vector<uint8_t>* gpudb::BinaryHttpRequest::getRequestBody | ( | ) |
|
protectedvirtual |
Reimplemented from gpudb::HttpRequest.
void gpudb::BinaryHttpRequest::setRequestBody | ( | const std::vector< uint8_t > * | requestBody | ) |