Function enableDynamicViewsLoading

Synopsis

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

virtual HttpAppFramework & enableDynamicViewsLoading(const std::vector< std::string > &libPaths, const std::string &outputPath="")=0

Description

Enable supporting for dynamic views loading.

Parameters

libPaths - is a vector that contains paths to view files.

outputPath - is the directory where the output source files locate. if it is set to an empty string, drogon use libPaths as output paths. If the path isn't prefixed with /, it is relative path of the current working directory.

Note
It is disabled by default. This operation can be performed by an option in the configuration file.

Mentioned in

Source

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






Add Discussion as Guest

Log in