fastdo  0.5.12
eiennet::HttpServerConfig结构体 参考

HTTP服务器配置 更多...

#include <eiennet_httpserv.hpp>

eiennet::HttpServerConfig 的协作图:

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::Stringmime
 

详细描述

HTTP服务器配置

在文件 eiennet_httpserv.hpp10 行定义.

构造及析构函数说明

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.hpp15 行定义.

winux::String eiennet::HttpServerConfig::documentRoot

在文件 eiennet_httpserv.hpp14 行定义.

double eiennet::HttpServerConfig::durationSec

在文件 eiennet_httpserv.hpp19 行定义.

int eiennet::HttpServerConfig::listenBacklog

在文件 eiennet_httpserv.hpp17 行定义.

std::map< winux::String, winux::String > eiennet::HttpServerConfig::mime

在文件 eiennet_httpserv.hpp22 行定义.

bool eiennet::HttpServerConfig::outputVerbose

在文件 eiennet_httpserv.hpp16 行定义.

int eiennet::HttpServerConfig::retryCount

在文件 eiennet_httpserv.hpp20 行定义.

winux::String eiennet::HttpServerConfig::serverIp

在文件 eiennet_httpserv.hpp12 行定义.

winux::ushort eiennet::HttpServerConfig::serverPort

在文件 eiennet_httpserv.hpp13 行定义.

int eiennet::HttpServerConfig::threadCount

在文件 eiennet_httpserv.hpp18 行定义.


该结构体的文档由以下文件生成: