91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 675KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-07-18
  • 語言: Html/CSS
  • 標簽: HttpHelper??

資源簡介

HttpHelper萬能框架 輕松GET、玩轉POST、HTML分析、無視編碼、驗證碼提取、Cookie分析互轉、Url格式化、加密、代理IP、證書、Json數據分析、執行JavaScript 【HttpHelper萬能框架】是什么? 大家好我是蘇飛 , 我的HttpHelper類相信很多人都用過, HttpHelper可以非常方便的實現Http協議的GET和POST請求、自動識 別編碼、無視證書、優化Cookie、可以很方便的進行web資源范圍 僅供學習參考,使用后24內請刪除

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Net;
using?CsharpHttpHelper.baseBll;
using?System.Drawing;
using?CsharpHttpHelper.Helper;
using?CsharpHttpHelper.Item;
using?System.Collections.Specialized;
using?System.Runtime.Remoting.Messaging;

namespace?CsharpHttpHelper
{
????///?
????///?gethtml方法異步調用的委托
????///?

????///?
????///?
????public?delegate?void?ResultHandler(HttpResult?item);

????///?
????///?Http幫助類??Copyright:http://www.httphelper.com/
????///?版本:2.2.0
????///?作者:蘇飛
????///?更新時間:2018-7-2
????///?

????public?class?HttpHelper
????{
????????#region?Private?Obj

????????///?
????????///?HttpHelperBLL
????????///?

????????private?HttpHelperBll?bll?=?new?HttpHelperBll();
????????///?
????????///?gethtml方法異步調用的委托
????????///?

????????///?
????????///?
????????private?delegate?HttpResult?GethtmlHandler(HttpItem?item);
????????///?
????????///?異步調用方法委托
????????///?

????????private?ResultHandler?resultheadler;
????????#endregion

????????#region?HttpHelper
????????///?
????????///?根據相傳入的數據,得到相應頁面數據
????????///?

????????///?參數類對象
????????///?返回HttpResult類型
????????public?HttpResult?GetHtml(HttpItem?item)
????????{
????????????return?bll.GetHtml(item);
????????}
????????///?
????????///?GetHtml方法的異步調用方式,根據相傳入的數據,得到相應頁面數據
????????///?

????????///?參數類對象
????????///?回調的方法名
????????public?void?BeginInvokeGetHtml(HttpItem?item?ResultHandler?resultMainName)
????????{
????????????resultheadler?=?resultMainName;
????????????GethtmlHandler?handler?=?new?GethtmlHandler(GetHtml);
????????????handler.BeginInvoke(item?new?AsyncCallback(CallbackFunc)?“AsycState:OK“);
????????}
????????///?
????????///?內部回調方法
????????///?

????????///?返回值
????????private?void?CallbackFunc(IAsyncResult?resultType)
????????{
????????????//result?是“加法類.Add()方法”的返回值?????????????
????????????//AsyncResult?是IAsyncResult接口的一個實現類,引用空間:System.Runtime.Remoting.Messaging?????????????
????????????//AsyncDelegate?屬性可以強制轉換為用戶定義的委托的實際類。
????????????GethtmlHandler?handler?=?(GethtmlHandler)((AsyncResult)resultType).AsyncDelegate;
????????????HttpResult?result?=?handler.EndInvoke(resultType);
????????????//回調方法傳回執行結果
????????????resultheadler.Invoke(result);
????????}
????????///?
????????///?根據Url獲取圖片
????????///?

????????///?HttpItem參數
????????///?返回圖片,錯誤為NULL
????????public?Image?GetImage(HttpItem?item)
????????{
????????????return?bll.GetImage(item);
????????}
????????///?

????????///?快速請求方

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

????.......?????21177??2018-07-02?14:14??CsharpHttpHelper\base\Httphelperbase.cs

????.......??????2731??2017-07-04?11:14??CsharpHttpHelper\baseBll\HttpHelperBll.cs

????.......??????3855??2018-05-04?16:40??CsharpHttpHelper\CsharpHttpHelper.csproj

????.......???????458??2017-07-04?11:14??CsharpHttpHelper\Enum\AType.cs

????.......???????747??2017-07-04?11:14??CsharpHttpHelper\Enum\PostDataType.cs

????.......???????678??2017-07-04?11:14??CsharpHttpHelper\Enum\ResultCookieType.cs

????.......???????703??2017-07-04?11:14??CsharpHttpHelper\Enum\ResultType.cs

????.......??????1516??2018-04-08?17:23??CsharpHttpHelper\Helper\base64Helper.cs

????.......??????1179??2017-07-04?11:14??CsharpHttpHelper\Helper\EncodingHelper.cs

????.......??????2081??2017-07-04?11:14??CsharpHttpHelper\Helper\ExecJsHelper.cs

????.......??????5678??2017-07-04?11:14??CsharpHttpHelper\Helper\HtmlHelper.cs

????.......??????5447??2017-07-04?11:14??CsharpHttpHelper\Helper\HttpCookieHelper.cs

????.......??????4147??2017-07-04?11:14??CsharpHttpHelper\Helper\HttpUrlHelper.cs

????.......???????723??2017-07-04?11:14??CsharpHttpHelper\Helper\ImageHelper.cs

????.......??????1470??2017-07-04?11:14??CsharpHttpHelper\Helper\Jsonhelper.cs

????.......??????1340??2018-04-28?17:10??CsharpHttpHelper\Helper\MD5Helper.cs

????.......?????14006??2018-07-02?14:17??CsharpHttpHelper\HttpHelper.cs

????.......?????11759??2018-03-12?13:45??CsharpHttpHelper\HttpItem.cs

????.......??????2877??2018-07-02?14:10??CsharpHttpHelper\HttpResult.cs

????.......???????923??2017-07-04?11:14??CsharpHttpHelper\Item\AItem.cs

????.......???????499??2017-07-04?11:14??CsharpHttpHelper\Item\ImgItem.cs

????.......??????1458??2018-07-02?14:17??CsharpHttpHelper\Properties\AssemblyInfo.cs

????.......??????1906??2017-07-04?11:14??CsharpHttpHelper\Static\RegexString.cs

????.......??????9942??2017-07-04?11:14??CsharpHttpHelper_Demo\CsharpHttpHelper_Demo.csproj

????.......???????480??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCertificate_Demo.aspx

????.......??????2219??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCertificate_Demo.aspx.cs

????.......???????819??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCertificate_Demo.aspx.designer.cs

????.......???????490??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCookieCollection_Demo.aspx

????.......??????1824??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCookieCollection_Demo.aspx.cs

????.......???????824??2017-07-04?11:14??CsharpHttpHelper_Demo\HttpCookieCollection_Demo.aspx.designer.cs

............此處省略62個文件信息

評論

共有 條評論