Function getHeaders

Synopsis

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

const std::unordered_map< std::string, std::string > & getHeaders() const

Description

Get all headers of the response.

Source

Lines 183-186 in lib/inc/drogon/HttpResponse.h.

const std::unordered_map<std::string, std::string> &getHeaders() const
{
    return headers();
}





Add Discussion as Guest

Log in