Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HTTPRequest Class Reference
Collaboration diagram for HTTPRequest:
Collaboration graph
[legend]

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
 

The documentation for this class was generated from the following file: