Function getCookies

Synopsis

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

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

Description

Get all cookies of the request.

Source

Lines 147-150 in lib/inc/drogon/HttpRequest.h.

const std::unordered_map<std::string, std::string> &getCookies() const
{
    return cookies();
}





Add Discussion as Guest

Log in to DocsForge