Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
SondeTest::HttpResponse Struct Reference

A parsed HTTP response. More...

#include <testsupport.h>

Public Member Functions

QJsonObject json () const
 The body parsed as a JSON object.
QByteArray header (const char *name) const
 A header value by lower-case name.

Public Attributes

int status = 0
 Status code, 0 if no response arrived.
QHash< QByteArray, QByteArray > headers
 Header fields, names lower-cased.
QByteArray body
 Response body.

Detailed Description

A parsed HTTP response.


The documentation for this struct was generated from the following file: