Ark Server API (ASE) - Wiki
|
Classes | |
struct | RequestData |
Public Member Functions | |
void | WriteRequest (std::function< void(bool, std::string)> callback, bool success, std::string result) |
Poco::Net::HTTPRequest | ConstructRequest (const std::string &url, Poco::Net::HTTPClientSession *&session, const std::vector< std::string > &headers, const std::string &request_type) |
std::string | GetResponse (Poco::Net::HTTPClientSession *session, Poco::Net::HTTPResponse &response) |
void | Update () |
Private Attributes | |
std::vector< RequestData > | RequestsVec_ |
std::mutex | RequestMutex_ |
Definition at line 27 of file Requests.cpp.
Poco::Net::HTTPRequest API::Requests::impl::ConstructRequest | ( | const std::string & | url, |
Poco::Net::HTTPClientSession *& | session, | ||
const std::vector< std::string > & | headers, | ||
const std::string & | request_type ) |
Definition at line 79 of file Requests.cpp.
std::string API::Requests::impl::GetResponse | ( | Poco::Net::HTTPClientSession * | session, |
Poco::Net::HTTPResponse & | response ) |
Definition at line 107 of file Requests.cpp.
void API::Requests::impl::Update | ( | ) |
Definition at line 325 of file Requests.cpp.
void API::Requests::impl::WriteRequest | ( | std::function< void(bool, std::string)> | callback, |
bool | success, | ||
std::string | result ) |
|
private |
Definition at line 47 of file Requests.cpp.
|
private |
Definition at line 46 of file Requests.cpp.