-
大小: 86KB文件类型: .zip金币: 1下载: 0 次发布日期: 2021-05-06
- 语言: 其他
- 标签: HttpHelper
资源简介
此万能框架源码由本人购买,仅供大家学习交流使用,请大家于24小时之内删除,谢谢合作,如用作商业用途,请登陆作者网站:http://httphelper.sufeinet.com/ 自行购买!
代码片段和文件信息
using CsharpHttpHelper.baseBll;
using CsharpHttpHelper.Helper;
using CsharpHttpHelper.Item;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Net;
using System.Text;
namespace CsharpHttpHelper
{
public class HttpHelper
{
private HttpHelperBll bll = new HttpHelperBll();
public HttpResult GetHtml(HttpItem item)
{
return this.bll.GetHtml(item);
}
public Image GetImage(HttpItem item)
{
return this.bll.GetImage(item);
}
public HttpResult FastRequest(HttpItem item)
{
return this.bll.FastRequest(item);
}
public static string GetSmallCookie(string strcookie)
{
return HttpCookieHelper.GetSmallCookie(strcookie);
}
public static CookieCollection StrCookieToCookieCollection(string strcookie)
{
return HttpCookieHelper.StrCookieToCookieCollection(strcookie);
}
public static string CookieCollectionToStrCookie(CookieCollection cookie)
{
return HttpCookieHelper.CookieCollectionToStrCookie(cookie);
}
public static string URLDecode(string text Encoding encoding = null)
{
return HttpUrlHelper.URLDecode(text encoding);
}
public static string URLEncode(string text Encoding encoding = null)
{
return HttpUrlHelper.URLEncode(text encoding);
}
public static NameValueCollection GetNameValueCollection(string str)
{
return HttpUrlHelper.GetNameValueCollection(str);
}
public static string GetUrlHost(string url)
{
return HttpUrlHelper.GetUrlHost(url);
}
public static string GetUrlIp(string url)
{
return HttpUrlHelper.GetUrlIp(url);
}
public static string ToMD5(string str)
{
return MD5Helper.ToMD5_32(str);
}
public static string ToSHA1(string str)
{
return MD5Helper.ToSHA1(str);
}
public static object JsonToobject(string jsonstr)
{
return Jsonhelper.JsonToobject(jsonstr);
}
public static string objectToJson(object obj)
{
return Jsonhelper.objectToJson(obj);
}
public static List GetAList(string html)
{
return HtmlHelper.GetAList(html);
}
public static List GetImgList(string html)
{
return HtmlHelper.GetImgList(html);
}
public static string StripHTML(string html)
{
return HtmlHelper.StripHTML(html);
}
public static string ReplaceNewLine(string html)
{
return HtmlHelper.ReplaceNewLine(html);
}
public static string GetBetweenHtml(string html string s string e)
{
return HtmlHelper.GetBetweenHtml(html s e);
}
public static string GetHtmltitle(string html)
{
return HtmlHelper.GetHtmltitle(html);
}
public static string javascriptEval(string strJs string main)
{
return ExecJsHelper.javascriptEval(strJs main);
}
public static Image GetImage(byte[] b)
{
return ImageHelper.ByteToImage(b);
}
public static string ByteToString(by
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-05-16 16:22 HttpHelper V1.9\
目录 0 2016-05-16 16:22 HttpHelper V1.9\.vs\
目录 0 2016-05-16 16:22 HttpHelper V1.9\.vs\HttpHelper\
目录 0 2016-05-16 16:26 HttpHelper V1.9\.vs\HttpHelper\v14\
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\
文件 3615 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\HttpHelper.cs
文件 5374 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\HttpItem.cs
文件 1354 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\HttpResult.cs
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
文件 11264 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
文件 1335 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\
文件 100 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\AType.cs
文件 123 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\PostDataType.cs
文件 126 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\ResultCookieType.cs
文件 108 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\ResultType.cs
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\
文件 570 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ba
文件 445 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\EncodingHelper.cs
文件 1012 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ExecJsHelper.cs
文件 3313 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HtmlHelper.cs
文件 2566 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HttpCookieHelper.cs
文件 1947 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HttpUrlHelper.cs
文件 386 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ImageHelper.cs
文件 762 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\Json
文件 581 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\MD5Helper.cs
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Item\
文件 372 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Item\AItem.cs
文件 188 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Item\ImgItem.cs
目录 0 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Static\
............此处省略18个文件信息
- 上一篇:最大逆向中文分词算法
- 下一篇:ABAQUS 2017
评论
共有 条评论