49 double serverWait = 0.002,
50 double verboseInterval = 0.01,
52 int cacheLifeTime = 86400
77 double serverWait = 0.002,
78 double verboseInterval = 0.01,
80 int cacheLifeTime = 86400
98 virtual int run(
void * runParam )
override;
std::function< bool(winux::SharedPointer< _ReqClass > requestPtr, _RspClass &rsp, winux::StringArray const &urlPathPartArr, size_t i) > CrossRouteHandlerFunctionT
过径路由处理函数类型
std::function< void(winux::SharedPointer< _ReqClass > requestPtr, _RspClass &rsp) > RouteHandlerFunctionT
普通路由处理函数类型
RouteHandlerFunctionT< HttpRequestCtx, Response > RouteHandlerFunction
普通路由处理函数类型
缓冲区,表示内存中一块二进制数据(利用malloc/realloc进行内存分配)
#define DEFINE_CUSTOM_EVENT_RETURN_EX(ret, evtname, paramtypes)
VerboseOutputType
冗余信息输出类型
virtual bool _beginRouting(winux::SharedPointer< http::HttpRequestCtx > requestCtxPtr, http::UrlPathPartData const &urlData, http::Response &rsp)
开始路由。返回false表示不路由
virtual void _endRouting(winux::SharedPointer< http::HttpRequestCtx > requestCtxPtr, http::UrlPathPartData const &urlData, http::Response &rsp)
结束路由
CrossRouteHandlerFunctionT< HttpRequestCtx, Response > CrossRouteHandlerFunction
过径路由处理函数类型
HttpServerConfig httpConfig
HTTP服务器配置对象