Function getHeader

Synopsis

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

virtual const std::string & getHeader(std::string key) const =0

Description

Get the header string identified by the key parameter.

Note
If there is no the header, a empty string is retured. The key is case insensitive

Source

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






Add Discussion as Guest

Log in