Function getHttpFullDate

Synopsis

#include <lib/inc/drogon/utils/Utilities.h>

DROGON_EXPORT char * getHttpFullDate(const trantor::Date &date=trantor::Date::now())

Description

Get the http full date string.

rfc2616-3.3.1 Full Date format(RFC 822) like this:

Sun, 06 Nov 1994 08:49:37 GMT
Wed, 12 Sep 2018 09:22:40 GMT

Source

Line 164 in lib/inc/drogon/utils/Utilities.h.






Add Discussion as Guest

Log in