|
Web framework C++
2.0.0
Simple web framework on c++ designed to easily create web pages, etc
|
InitParams is intended to get web-server configs from command line arguments. More...
#include <init_params.h>

Public Member Functions | |
| InitParams () | |
| InitParams (int argc, char **argv) | |
| bool | isIPv6 () |
| const char * | getIP () |
| int | getPort () |
| std::string | getFilePath () |
InitParams is intended to get web-server configs from command line arguments.
This class make verification of ip-address, port etc...
| InitParams::InitParams | ( | ) |
Create empty object
| InitParams::InitParams | ( | int | argc, |
| char ** | argv | ||
| ) |
Get params from command line arguments
| argc | num of params |
| argv | params |
| std::string InitParams::getFilePath | ( | ) |
get log file path
| const char* InitParams::getIP | ( | ) |
get ip address
| int InitParams::getPort | ( | ) |
get port
| bool InitParams::isIPv6 | ( | ) |
check if ip address is IPv6
1.8.11