|
fastdo
0.6.16
|
HTTP服务器配置 更多...
#include <http_old.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::Configure const * | constConfObj |
| winux::String | serverIp |
| winux::ushort | serverPort |
| winux::String | documentRoot |
| winux::String | documentIndex |
| bool | outputVerbose |
| int | listenBacklog |
| int | threadCount |
| double | durationSec |
| int | retryCount |
| int | cacheLifeTime |
| std::map< winux::String, winux::String > | mime |
HTTP服务器配置
在文件 http_old.hpp 第 9 行定义.
| http::old_v1::HttpServerConfig::HttpServerConfig | ( | winux::Configure const & | confObj | ) |
构造函数1,从配置对象加载参数
| http::old_v1::HttpServerConfig::HttpServerConfig | ( | winux::String const & | serverIp, |
| winux::ushort | port, | ||
| int | threadCount, | ||
| int | listenBacklog, | ||
| double | durationSec | ||
| ) |
构造函数2,给定一些参数
| winux::String http::old_v1::HttpServerConfig::getMime | ( | winux::String const & | extName | ) | const |
| void http::old_v1::HttpServerConfig::initMimeList | ( | ) |
| winux::Configure const* http::old_v1::HttpServerConfig::constConfObj |
在文件 http_old.hpp 第 11 行定义.
| winux::String http::old_v1::HttpServerConfig::serverIp |
在文件 http_old.hpp 第 12 行定义.
| winux::ushort http::old_v1::HttpServerConfig::serverPort |
在文件 http_old.hpp 第 13 行定义.
| winux::String http::old_v1::HttpServerConfig::documentRoot |
在文件 http_old.hpp 第 14 行定义.
| winux::String http::old_v1::HttpServerConfig::documentIndex |
在文件 http_old.hpp 第 15 行定义.
| bool http::old_v1::HttpServerConfig::outputVerbose |
在文件 http_old.hpp 第 16 行定义.
| int http::old_v1::HttpServerConfig::listenBacklog |
在文件 http_old.hpp 第 17 行定义.
| int http::old_v1::HttpServerConfig::threadCount |
在文件 http_old.hpp 第 18 行定义.
| double http::old_v1::HttpServerConfig::durationSec |
在文件 http_old.hpp 第 19 行定义.
| int http::old_v1::HttpServerConfig::retryCount |
在文件 http_old.hpp 第 20 行定义.
| int http::old_v1::HttpServerConfig::cacheLifeTime |
在文件 http_old.hpp 第 21 行定义.
| std::map< winux::String, winux::String > http::old_v1::HttpServerConfig::mime |
在文件 http_old.hpp 第 23 行定义.