mdml-cgi/include/CgiServerApp.hpp
S David e0d46c18a8
Some checks failed
buildbot/mdml-cgi-linux-builder Build done.
buildbot/mdml-cgi-freebsd-builder Build done.
Re-use code from my new external library, IOCore. Fix compile errors.
- Change vim-integrated build directory.
- Add WIP CgiServerApp class.
- Fix IOCore repository URL
2024-04-19 20:14:27 -04:00

35 lines
875 B
C++

/* CgiServerApp.hpp
* Copyright © 2024 Saul D. Beniquez
* License: Mozilla Public License v. 2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v.2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "Application.hpp"
// #include "IRequestHandler.hpp"
namespace mdml {
class IRouteHandler;
class CgiServerApp
: public IRequestHandler
, public IOCore::Application {
CgiServerApp(int argc, c::const_string argv[], c::const_string env[])
: IRequestHandler(), IOCore::Application(argc, argv, env)
{
}
~CgiServerApp() override{};
auto run() -> int override;
// auto processRequest() -> void {}
};
}
// clang-format off
// vim: set foldmethod=syntax foldminlines=10 textwidth=80 ts=8 sts=0 sw=8 noexpandtab ft=cpp.doxygen :