Function addHeader
Summary
#include <lib/inc/drogon/HttpResponse.h>
(1) virtual void addHeader(std::string field, const std::string &value)=0
(2) virtual void addHeader(std::string field, std::string &&value)=0
Function overload
Synopsis
#include <lib/inc/drogon/HttpResponse.h>
virtual void addHeader(std::string field, const std::string &value)=0
Description
Set the header string identified by the field parameter.
- Parameters
field
- The field parameter is transformed to lower case before storing.value
- The value of the header.
Source
Line 195 in lib/inc/drogon/HttpResponse.h.
Synopsis
#include <lib/inc/drogon/HttpResponse.h>
virtual void addHeader(std::string field, std::string &&value)=0
Description
No description yet.
Source
Line 196 in lib/inc/drogon/HttpResponse.h.