Function getHeader

Summary

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

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

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

Function overload

Synopsis

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

virtual const std::string & getHeader(const 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 169 in lib/inc/drogon/HttpResponse.h.

Synopsis

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

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

Description

No description yet.

Source

Line 170 in lib/inc/drogon/HttpResponse.h.






Add Discussion as Guest

Log in to DocsForge