Etterna 0.74.4
|
Public Member Functions | |
HTTPRequest (CURL *h, std::function< void(HTTPRequest &)> done=[](HTTPRequest &req) {}, curl_httppost *postform=nullptr, std::function< void(HTTPRequest &)> fail=[](HTTPRequest &req) {}, bool requiresLogin=false) | |
Public Attributes | |
long | response_code { 0 } |
CURL * | handle { nullptr } |
curl_httppost * | form { nullptr } |
std::string | result |
std::string | headers |
std::function< void(HTTPRequest &)> | Done |
std::function< void(HTTPRequest &)> | Failed |
bool | requiresLogin = false |