Class CustomHeader (2.21.0)

An option to inject custom headers into the request.

In some cases it is necessary to inject a custom header into the request. For example, because the protocol has added new headers and the library has not been updated to support them, or because

Constructors

CustomHeader()

CustomHeader(std::string, std::string)

Parameters
NameDescription
name std::string
value std::string

Functions

custom_header_name() const

Returns
TypeDescription
std::string const &