HTML template rendering view, supporting both inline and file-based templates. More...
#include "framework/FrameworkView.h"#include <string>#include "http/HttpRequest.h"#include "http/HttpResponse.h"
Include dependency graph for HtmlTemplateView.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | HtmlTemplateView |
Enumerations | |
| enum class | TemplateSource { Inline , FromFile } |
Supports simple {{key}} substitution for embedded or file-loaded HTML templates. Compatible with the FrameworkView interface and HttpResponse::send(view, context).
Definition in file HtmlTemplateView.h.
|
strong |
| Enumerator | |
|---|---|
| Inline | |
| FromFile | |
Definition at line 20 of file HtmlTemplateView.h.