struct
HttpResponse
- Module
- Http
- Header
#include "Http/HttpClient.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
long | statusCode | HTTP status; 0 = transport-level failure Default 0. |
std::string | body | |
std::string | error | non-empty on transport error (curl message) |
bool | nameNotResolved | The host (or proxy) name did not resolve. Separated from the other transport failures because it is the one that usually means the URL is wrong rather than the network being down, and a caller that retries on a schedule wants to treat the two differently. Default false. |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Ok |
Function details
Ok
C++
bool Ok() constGenerated from Http/HttpClient.h via http.json · Oct 26, 2026Version 1.0.0