ofDocsdocumentation utils ofHttpRequest

ofHttpRequest

ofHttpRequest is a class which acts as a data structure to store variables that are normally needed to do a HTTP request. It is used internally by ofURLFileLoader .

See also: ofHttpResponse


getId( )

int getId()

\return the unique id for this request


ofHttpRequest( ... )

ofHttpRequest(const string &url, const string &name, bool saveTo=false)

ofHttpRequest( )

ofHttpRequest()

Variables

string body
string contentType
int id
enumMethod method
string name
int nextID
bool saveTo
size_t timeoutSeconds
string url