Function enableServerHeader

Synopsis

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

virtual HttpAppFramework & enableServerHeader(bool flag)=0

Description

Control if the 'Server' 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 935 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge