Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
init_params.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
10 class InitParams {
11  bool IPv6;
12  int port;
13  std::string host;
14  std::string logFilePath;
15 public:
19  InitParams();
20 
29  InitParams(int argc, char ** argv);
30 
37  bool isIPv6();
38 
45  const char * getIP();
46 
53  int getPort();
54 
61  std::string getFilePath();
62 };
std::string getFilePath()
InitParams is intended to get web-server configs from command line arguments.
Definition: init_params.h:10
const char * getIP()
int getPort()
bool isIPv6()