HTTPResponse

Status line, headers and version of an HTTP response.

Synopsis

Declared in <httpserver.h>

struct HTTPResponse;

Member Functions

NameDescription
StringifyHeaders Serialize the status line and headers into the HTTP wire format.

Data Members

NameDescription
headers Response header fields.
status Status code sent to the client.
version Protocol version echoed in the status line.