lr函数--web_get_int_property
一、函数用途
记录http响应的信息(web_url、web_custom_request等)
二、函数属性
1.http_info_return_code: 返回http代码(全是大写)
2.http_info_download_size:返回页面字节数(全是大写)
3.http_info_download_time:返回页面下载时间(全是大写)
三、例子
Action()
{
int HttpRetCode;
web_url("www.hao123.com",
"URL=http://www.hao123.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
HttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);
if (HttpRetCode == 200)
lr_log_message("终于成功了!!我不容易呀!!!");
else
lr_log_message("唉,又失败了,不过这才是正常的! ");
return 0;
}