HTTPResponse¶
Represents a response to an HTTPRequest
.
Declaration¶
namespace bdn::net {
class HTTPResponse
}
Fields¶
-
HTTPRequest originalRequest
The request that resulted in the given response.
-
int responseCode
The HTTP reponse code returned by the server.
-
std::string url
The actual URL. This might be different from the requested URL, e.g. due to redirects.
-
std::string header
The HTTP header returned by the server.
-
std::string data
The data in the HTTP response's body returned by the server.