Detailed Description
Reply to an HttpRequest.
An HTTP error, like 401, keeps its status and body for the app to read.
A request that never completed, like one with no network, has a status
of 0 and the reason in error.
Member Variable Documentation
int status { 0 }
HTTP status, like 200; 0 when the request never completed
std::string body
Response body
std::string error
Why the request failed, when status is 0