Function setStaticFileHeaders

Synopsis

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

virtual HttpAppFramework & setStaticFileHeaders(const std::vector< std::pair< std::string, std::string >> &headers)=0

Description

Set the Static File Headers.

Parameters:

headers - Each pair object in the vector presents the field name and field value of a header in an static file response.

Source

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






Add Discussion as Guest

Log in to DocsForge