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

A parsed HTTP request. More...

#include <httpparser_p.h>

Public Member Functions

QByteArray header (const char *name) const
 A header value by lower-case name (empty if absent).

Public Attributes

QByteArray method
 Upper-cased method, e.g. "POST".
QByteArray target
 Request target including any query string.
QByteArray path
 Target without the query string.
QByteArray version
 HTTP version, e.g. "HTTP/1.1".
QHash< QByteArray, QByteArray > headers
 Header fields; names lower-cased.
QByteArray body
 Decoded body.
bool keepAlive = true
 Whether the connection stays open after the response.

Detailed Description

A parsed HTTP request.


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