Function enableDateHeader

Synopsis

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

virtual HttpAppFramework & enableDateHeader(bool flag)=0

Description

Control if the 'Date' header is added to each HTTP response.

Note
These operations can be performed by options in the configuration file. The headers are sent to clients by default.

Source

Line 974 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in