Function getCookie

Synopsis

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

virtual const Cookie & getCookie(const std::string &key) const =0

Description

Get the cookie identified by the key parameter. If there is no the cookie, the empty cookie is retured.

Source

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






Add Discussion as Guest

Log in