BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <elasticsearch.hpp>
Classes | |
struct | http_response |
struct | http_response_code |
Public Types | |
enum | http_request_method { http_request_method::HTTP_GET = 0, http_request_method::HTTP_POST = 1, http_request_method::HTTP_HEAD = 2, http_request_method::HTTP_PUT = 3, http_request_method::HTTP_DELETE = 4, http_request_method::HTTP_PATCH = 5, http_request_method::HTTP_OPTIONS = 6 } |
Public Member Functions | |
curl_wrapper () | |
http_response | request (http_request_method method, const std::string &url, const std::string &auth, const std::string &query) const |
http_response | get (const std::string &url, const std::string &auth) const |
http_response | del (const std::string &url, const std::string &auth) const |
http_response | post (const std::string &url, const std::string &auth, const std::string &query) const |
http_response | put (const std::string &url, const std::string &auth, const std::string &query) const |
Definition at line 35 of file elasticsearch.hpp.
Enumerator | |
---|---|
HTTP_GET | |
HTTP_POST | |
HTTP_HEAD | |
HTTP_PUT | |
HTTP_DELETE | |
HTTP_PATCH | |
HTTP_OPTIONS |
Definition at line 41 of file elasticsearch.hpp.
graphene::utilities::curl_wrapper::curl_wrapper | ( | ) |
Definition at line 103 of file elasticsearch.cpp.
curl_wrapper::http_response graphene::utilities::curl_wrapper::del | ( | const std::string & | url, |
const std::string & | auth | ||
) | const |
Definition at line 180 of file elasticsearch.cpp.
curl_wrapper::http_response graphene::utilities::curl_wrapper::get | ( | const std::string & | url, |
const std::string & | auth | ||
) | const |
Definition at line 175 of file elasticsearch.cpp.
curl_wrapper::http_response graphene::utilities::curl_wrapper::post | ( | const std::string & | url, |
const std::string & | auth, | ||
const std::string & | query | ||
) | const |
Definition at line 185 of file elasticsearch.cpp.
curl_wrapper::http_response graphene::utilities::curl_wrapper::put | ( | const std::string & | url, |
const std::string & | auth, | ||
const std::string & | query | ||
) | const |
Definition at line 191 of file elasticsearch.cpp.
curl_wrapper::http_response graphene::utilities::curl_wrapper::request | ( | curl_wrapper::http_request_method | method, |
const std::string & | url, | ||
const std::string & | auth, | ||
const std::string & | query | ||
) | const |
Definition at line 121 of file elasticsearch.cpp.