| 
    fastdo
    0.5.12
    
   | 
 
HTTP服务器配置 更多...
#include <eiennet_httpserv.hpp>

Public 成员函数 | |
| HttpServerConfig (winux::Configure const &confObj) | |
| 构造函数1,从配置对象加载参数  更多... | |
| HttpServerConfig (winux::String const &serverIp, winux::ushort port, int threadCount, int listenBacklog, double durationSec) | |
| 构造函数2,给定一些参数  更多... | |
| winux::String | getMime (winux::String const &extName) const | 
| void | initMimeList () | 
Public 属性 | |
| winux::String | serverIp | 
| winux::ushort | serverPort | 
| winux::String | documentRoot | 
| winux::String | documentIndex | 
| bool | outputVerbose | 
| int | listenBacklog | 
| int | threadCount | 
| double | durationSec | 
| int | retryCount | 
| std::map< winux::String, winux::String > | mime | 
HTTP服务器配置
在文件 eiennet_httpserv.hpp 第 10 行定义.
| eiennet::HttpServerConfig::HttpServerConfig | ( | winux::Configure const & | confObj | ) | 
构造函数1,从配置对象加载参数
| eiennet::HttpServerConfig::HttpServerConfig | ( | winux::String const & | serverIp, | 
| winux::ushort | port, | ||
| int | threadCount, | ||
| int | listenBacklog, | ||
| double | durationSec | ||
| ) | 
构造函数2,给定一些参数
| winux::String eiennet::HttpServerConfig::getMime | ( | winux::String const & | extName | ) | const | 
| void eiennet::HttpServerConfig::initMimeList | ( | ) | 
| winux::String eiennet::HttpServerConfig::documentIndex | 
在文件 eiennet_httpserv.hpp 第 15 行定义.
| winux::String eiennet::HttpServerConfig::documentRoot | 
在文件 eiennet_httpserv.hpp 第 14 行定义.
| double eiennet::HttpServerConfig::durationSec | 
在文件 eiennet_httpserv.hpp 第 19 行定义.
| int eiennet::HttpServerConfig::listenBacklog | 
在文件 eiennet_httpserv.hpp 第 17 行定义.
| std::map< winux::String, winux::String > eiennet::HttpServerConfig::mime | 
在文件 eiennet_httpserv.hpp 第 22 行定义.
| bool eiennet::HttpServerConfig::outputVerbose | 
在文件 eiennet_httpserv.hpp 第 16 行定义.
| int eiennet::HttpServerConfig::retryCount | 
在文件 eiennet_httpserv.hpp 第 20 行定义.
| winux::String eiennet::HttpServerConfig::serverIp | 
在文件 eiennet_httpserv.hpp 第 12 行定义.
| winux::ushort eiennet::HttpServerConfig::serverPort | 
在文件 eiennet_httpserv.hpp 第 13 行定义.
| int eiennet::HttpServerConfig::threadCount | 
在文件 eiennet_httpserv.hpp 第 18 行定义.