summaryrefslogtreecommitdiffhomepage
path: root/lib/stdx/cgi.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-30 12:02:18 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-30 12:02:18 +0200
commit5afa9fff406fff75d0c6b216746558c9f5a70d09 (patch)
tree7aef0be9bb4f18bfd90311c1ac2ea926ed2d18ed /lib/stdx/cgi.hpp
parent5b1b2019c33d0f0472081b64025eba034f3004fd (diff)
lib/cgi.hpp: Add documentation for 'cgi_writer' class.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib/stdx/cgi.hpp')
-rw-r--r--lib/stdx/cgi.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdx/cgi.hpp b/lib/stdx/cgi.hpp
index d3f549d..6d50994 100644
--- a/lib/stdx/cgi.hpp
+++ b/lib/stdx/cgi.hpp
@@ -15,6 +15,7 @@ namespace stdx
{
namespace web
{
+ /// @brief CGI Writer class, writes to stdout; as CGI expects.
class cgi_writer final
{
cgi_writer& eval_(const std::string& mime, const std::stringstream& ss) noexcept
@@ -55,7 +56,7 @@ namespace stdx
return this->eval_("text/javascript", ss_html);
}
};
- } // namespace details
+ } // namespace web
} // namespace stdx
#endif // ifndef _STDX_CGI_HPP \ No newline at end of file