HttpResponse Struct

#include <vapp.h>

Public Members

int status = 0
std::string body
std::string error

Detailed Description

The reply delivered back to the request's callback. status is the HTTP code (200, 401, ...); 0 means the request never completed (transport/network failure), with the reason in error.

Appearance
Theme
—