Function addHeader

Summary

#include <lib/inc/drogon/HttpRequest.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/HttpRequest.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 134 in lib/inc/drogon/HttpRequest.h.

Synopsis

#include <lib/inc/drogon/HttpRequest.h>

virtual void addHeader(std::string field, std::string &&value)=0

Description

No description yet.

Source

Line 135 in lib/inc/drogon/HttpRequest.h.






Add Discussion as Guest

Log in