Holds the state of an executing HTTP request.
Holds the state of an executing HTTP request.
Starts executing the request. Does nothing if the request has already started.
Returns true if the request has finished execution. This will return true even in the case of an error.
bool
Returns an error message, if there was an error. Otherwise, this returns an empty string. This function is useful in the rare case that ResponseCode()
returns 0.
string
Gets the value of a specific response header. The key is case insensitive.
string
Saves the response body to a file. The given path should be an absolute path.