5 #ifndef CPSTATICSIMPLE_H 6 #define CPSTATICSIMPLE_H 8 #include <Cutelyst/Plugins/staticsimple_export.h> 9 #include <Cutelyst/context.h> 10 #include <Cutelyst/plugin.h> 14 class StaticSimplePrivate;
60 class CUTELYST_PLUGIN_STATICSIMPLE_EXPORT StaticSimple :
public Plugin
118 void setServeDirsOnly(
bool dirsOnly);
126 StaticSimplePrivate *d_ptr;
129 void beforePrepareAction(
Context *c,
bool *skipMethod)
const;
135 #endif // CPSTATICSIMPLE_H
Serve static files directly from your application.
The Cutelyst namespace holds all public Cutelyst API.
The Cutelyst application.