Function setExpiresDate

Synopsis

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

void setExpiresDate(const trantor::Date &date)

Description

Set the Expires Date.

Parameters:

date - The expiration date

Source

Lines 44-47 in lib/inc/drogon/Cookie.h.

void setExpiresDate(const trantor::Date &date)
{
    expiresDate_ = date;
}





Add Discussion as Guest

Log in to DocsForge