HttpHelper万能框架 V2.X 稳定版本

上传者: top15from | 上传时间: 2019-12-21 21:16:36 | 文件大小: 345KB | 文件类型: rar
基于 HttpHelper万能框架V2.2 源码基础 上,修复了cookie 合并的问题,以及 ssl 基础连接已关闭的问题。作者你为什么要举报我? 1, cookie 修复 internal static string GetMergeCookie(string oldCookie, string newCookie) { if (!string.IsNullOrEmpty(oldCookie) && !string.IsNullOrEmpty(newCookie)) { if (oldCookie == newCookie) return oldCookie; else { List Old = new List(oldCookie.Split(';')); List New = new List(newCookie.Split(';')); foreach (string n in New) { foreach (string o in Old) { if (o == n || o.Split('=')[0] == n.Split('=')[0]) { Old.Remove(o); break; } } } List list = new List(Old); list.AddRange(New); StringBuilder sb = new StringBuilder(); foreach (var s in list) { if (s != "") { sb.Append(s).Append(";"); } } return sb.ToString(); } } else if (!string.IsNullOrEmpty(oldCookie)) { return oldCookie; } else if (!string.IsNullOrEmpty(newCookie)) { return newCookie; } else { return ""; } } 2,ssl 修复 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Ssl3 | (SecurityProtocolType)3072 | (SecurityProtocolType)192 | (SecurityProtocolType)768;

文件下载

资源详情

[{"title":"( 95 个子文件 345KB ) HttpHelper万能框架 V2.X 稳定版本","children":[{"title":"HttpHelper万能框架V2.2","children":[{"title":"CsharpHttpHelper","children":[{"title":"BaseBll","children":[{"title":"HttpHelperBll.cs <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"Static","children":[{"title":"RegexString.cs <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"Item","children":[{"title":"ImgItem.cs <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"AItem.cs <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"CsharpHttpHelper.csproj <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"Enum","children":[{"title":"ResultCookieType.cs <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"PostDataType.cs <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"ResultType.cs <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"AType.cs <span style='color:#111;'> 458B </span>","children":null,"spread":false}],"spread":true},{"title":"Helper","children":[{"title":"HttpUrlHelper.cs <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false},{"title":"ExecJsHelper.cs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"ImageHelper.cs <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"EncodingHelper.cs <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"MD5Helper.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"HttpCookieHelper.cs <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"HtmlHelper.cs <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"JsonHelper.cs <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Base64Helper.cs <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"Base","children":[{"title":"HttphelperBase.cs <span style='color:#111;'> 20.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"HttpHelper.cs <span style='color:#111;'> 13.70KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"CsharpHttpHelper.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"CsharpHttpHelper.csprojAssemblyReference.cache <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"CsharpHttpHelper.csproj.FileListAbsolute.txt <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"HttpHelper.pdb <span style='color:#111;'> 101.50KB </span>","children":null,"spread":false},{"title":"HttpHelper.dll <span style='color:#111;'> 32.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"HttpResult.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"HttpHelper.XML <span style='color:#111;'> 45.57KB </span>","children":null,"spread":false},{"title":"HttpHelper.pdb <span style='color:#111;'> 101.50KB </span>","children":null,"spread":false},{"title":"HttpHelper.dll <span style='color:#111;'> 32.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"HttpItem.cs <span style='color:#111;'> 11.48KB </span>","children":null,"spread":false}],"spread":false},{"title":".vs","children":[{"title":"CsharpHttpHelper","children":[{"title":"v15","children":[{"title":".suo <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"storage.ide-wal <span style='color:#111;'> 3.14MB </span>","children":null,"spread":false},{"title":"storage.ide-shm <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"storage.ide <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"db.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"config","children":[{"title":"applicationhost.config <span style='color:#111;'> 83.61KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CsharpHttpHelper_Demo","children":[{"title":"HttpHeader_Demo.aspx.cs <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"HttpGet_Demo.aspx <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"HttpCertificate_Demo.aspx.designer.cs <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"HttpUrl_Demospx.aspx.designer.cs <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"Index.aspx.designer.cs <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"CsharpHttpHelper_Demo.csproj.user <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"HttpMD5_Demo.aspx.designer.cs <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"HttpJson_Demo.aspx <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"HttpCertificate_Demo.aspx <span style='color:#111;'> 480B </span>","children":null,"spread":false},{"title":"HttpGet_Demo.aspx.cs <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"CsharpHttpHelper_Demo.csproj <span style='color:#111;'> 9.92KB </span>","children":null,"spread":false},{"title":"HttpHeader_Demo.aspx <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"Text.aspx <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"HttpJs_Demo.aspx.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"HttpHtml_Demo.aspx.cs <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"HttpImage_Demo.aspx <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"Index.aspx.cs <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"HttpJs_Demo.aspx <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"HttpMD5_Demo.aspx <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"HttpCertificate_Demo.aspx.cs <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"HttpJson_Demo.aspx.designer.cs <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"HttpJs_Demo.aspx.designer.cs <span style='color:#111;'> 810B </span>","children":null,"spread":false},{"title":"HttpHtml_Demo.aspx.designer.cs <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"test.js <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"HttpProxy_Demo.aspx.cs <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"HttpJson_Demo.aspx.cs <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"HttpPost_Demo.aspx.cs <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"HttpStringCookie_Demo.aspx <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"HttpCookieCollection_Demo.aspx <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"HttpCookieCollection_Demo.aspx.designer.cs <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"Index.aspx <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"HttpHeader_Demo.aspx.designer.cs <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"HttpLocation_Demo.aspx <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"HttpHtml_Demo.aspx <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"HttpMD5_Demo.aspx.cs <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"HttpImage_Demo.aspx.cs <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"HttpUrl_Demospx.aspx <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"HttpProxy_Demo.aspx <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"HttpProxy_Demo.aspx.designer.cs <span style='color:#111;'> 823B </span>","children":null,"spread":false},{"title":"HttpPost_Demo.aspx <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"HttpPost_Demo.aspx.designer.cs <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"HttpLocation_Demo.aspx.cs <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"HttpUrl_Demospx.aspx.cs <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"HttpStringCookie_Demo.aspx.designer.cs <span style='color:#111;'> 820B </span>","children":null,"spread":false},{"title":"HttpStringCookie_Demo.aspx.cs <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TempPE","children":null,"spread":false},{"title":"CsharpHttpHelper_Demo.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"CsharpHttpHelper_Demo.csprojAssemblyReference.cache <span style='color:#111;'> 20.92KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Text.aspx.cs <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"bin","children":null,"spread":false},{"title":"HttpGet_Demo.aspx.designer.cs <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"Web.config <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"Text.aspx.designer.cs <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"HttpCookieCollection_Demo.aspx.cs <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"HttpImage_Demo.aspx.designer.cs <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"HttpLocation_Demo.aspx.designer.cs <span style='color:#111;'> 816B </span>","children":null,"spread":false}],"spread":false},{"title":"CsharpHttpHelper.sln <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • SuperMan_ :
    冲作者举报也要下载看看
    2021-03-20
  • 快40的码农 :
    冲作者举报也要下载看看
    2021-03-20
  • yuyejian :
    不错啊,非常好
    2019-07-19
  • yuyejian :
    不错啊,非常好
    2019-07-19

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明