[C#] 纯文本查看 复制代码 private static string Users_getmsg(string url, string referer, string cookie, string postdata)
{
HttpHelper Http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = url,
Method = "post",
Cookie = cookie,
Referer = referer,
Postdata = postdata,
Timeout = 10000,
ReadWriteTimeout = 10000,
ContentType = "application/x-www-form-urlencoded",//返回类型 可选项有默认值
ResultType = ResultType.String
};
HttpResult result = Http.GetHtml(item);
return result.Html;
}
多线程 循环调用这个函数
|