struct

HttpResponse

Module
Http
Header
#include "Http/HttpClient.h"
Namespace
Mowo

Properties

TypeNameDescription
longstatusCodeHTTP status; 0 = transport-level failure Default 0.
std::stringbody
std::stringerrornon-empty on transport error (curl message)
boolnameNotResolvedThe 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

ReturnsNameDescription
boolOk

Function details

Ok

C++
bool Ok() const
Generated from Http/HttpClient.h via http.json · Oct 26, 2026Version 1.0.0