S David
e0d46c18a8
- Change vim-integrated build directory. - Add WIP CgiServerApp class. - Fix IOCore repository URL
35 lines
875 B
C++
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 :
|