HTTPRequest::WriteHeader

Set a header to be included in the response.

Synopsis

Declared in <httpserver.h>

void
WriteHeader(
    std::string&& hdr,
    std::string&& value);

Parameters

NameDescription
hdrThe header field-name to write.
valueThe value to associate with the field-name.