#include <DashboardView.h>
|
| | DashboardView () |
| |
| | StaticView (const char *html) |
| |
| std::string | render (const std::map< std::string, std::string > &={}) const override |
| | Render the view body.
|
| |
| std::string | getContentType () const override |
| | Return the MIME content type for this view.
|
| |
| virtual | ~FrameworkView ()=default |
| |
| virtual void | applyHeaders (HttpResponse &response) const |
| | Optional hook to set response headers (e.g., Content-Disposition).
|
| |
| virtual std::string | render (const nlohmann::json &context) const |
| | Optional JSON context hook (used by JsonView or convenience).
|
| |
Definition at line 4 of file DashboardView.h.
◆ DashboardView()
| DashboardView::DashboardView |
( |
| ) |
|
Definition at line 5 of file DashboardView.cpp.
static constexpr const char * dashboard_html
StaticView sends a fixed HTML string with no template substitution.
◆ dashboard_html
| constexpr const char* DashboardView::dashboard_html |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: