Set a header to be included in the response.

Synopsis

Declared in <httpserver.h>

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

Parameters

Name

Description

hdr

The header field‐name to write.

value

The value to associate with the field‐name.

Created with MrDocs