Function getHeader

Summary

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

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

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

Function overload

Synopsis

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

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

Description

Get the header string identified by the field parameter.

Source

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

Synopsis

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

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

Description

Get the header string identified by the field parameter.

Source

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






Add Discussion as Guest

Log in to DocsForge