vc++ HTTP HTTPS POST GET(包含curl版本和winhttp两种实现)

上传者: asawoaini2008 | 上传时间: 2019-12-30 03:01:33 | 文件大小: 6.24MB | 文件类型: 7z
玩过抓包,网络协议分析的朋友肯定都知道http https post get,web端和用户的交互主要是通过post get完成的。 我这里有两种实现: 1:libcurl实现的CHttpClient类,该类实现了Htpp和Https的get post方法。 2:winhttp实现的WinHttpClient类,同样也实现了Htpp和Https的get post方法。 两者使用起来都很方便灵活。 详细说明: http://blog.csdn.net/sunflover454/article/details/49030803

文件下载

资源详情

[{"title":"( 54 个子文件 6.24MB ) vc++ HTTP HTTPS POST GET(包含curl版本和winhttp两种实现)","children":[{"title":"HttpGetPostDemo","children":[{"title":"ipch","children":[{"title":"curldemo-6aca7a7d","children":null,"spread":false}],"spread":true},{"title":"VScleaner.bat <span style='color:#111;'> 209B </span>","children":null,"spread":false},{"title":"curlDemo.sln <span style='color:#111;'> 891B </span>","children":null,"spread":false},{"title":"curlDemo.suo <span style='color:#111;'> 18.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"curlDemo.exe <span style='color:#111;'> 3.11MB </span>","children":null,"spread":false}],"spread":true},{"title":"curlDemo","children":[{"title":"httpclient.cpp <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"curlDemo.cpp <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"curlDemo.vcxproj <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"curlDemo.vcxproj.filters <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"httpclient.h <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"curlDemo.exe.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"curlDemo.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"curlDemo.lastbuildstate <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"curlDemo.log <span style='color:#111;'> 153.59KB </span>","children":null,"spread":false},{"title":"curlDemo_manifest.rc <span style='color:#111;'> 206B </span>","children":null,"spread":false}],"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"curl","children":[{"title":"curlbuild.h <span style='color:#111;'> 21.80KB </span>","children":null,"spread":false},{"title":"libcurl_lib","children":[{"title":"libcurl_MTd_VS2008.lib <span style='color:#111;'> 3.14MB </span>","children":null,"spread":false},{"title":"libcurl_MT_VS2010.lib <span style='color:#111;'> 3.41MB </span>","children":null,"spread":false},{"title":"libcurl_MT_VS2008.lib <span style='color:#111;'> 1.01MB </span>","children":null,"spread":false},{"title":"libcurl_MTd_VS2010.lib <span style='color:#111;'> 3.25MB </span>","children":null,"spread":false}],"spread":false},{"title":"openssl_lib","children":[{"title":"ssleay32_MT_VS2010.lib <span style='color:#111;'> 2.20MB </span>","children":null,"spread":false},{"title":"libeay32_MT_VS2008.lib <span style='color:#111;'> 12.62MB </span>","children":null,"spread":false},{"title":"libeay32_MT_VS2010.lib <span style='color:#111;'> 13.22MB </span>","children":null,"spread":false},{"title":"ssleay32_MT_VS2008.lib <span style='color:#111;'> 2.11MB </span>","children":null,"spread":false},{"title":"libeay32_MTd_VS2010.lib <span style='color:#111;'> 13.14MB </span>","children":null,"spread":false},{"title":"ssleay32_MTd_VS2008.lib <span style='color:#111;'> 2.19MB </span>","children":null,"spread":false},{"title":"libeay32_MTd_VS2008.lib <span style='color:#111;'> 12.88MB </span>","children":null,"spread":false},{"title":"ssleay32_MTd_VS2010.lib <span style='color:#111;'> 2.23MB </span>","children":null,"spread":false}],"spread":false},{"title":"multi.h <span style='color:#111;'> 15.62KB </span>","children":null,"spread":false},{"title":"easy.h <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"curlbuild.h.cmake <span style='color:#111;'> 7.28KB </span>","children":null,"spread":false},{"title":"stdcheaders.h <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"curlver.h <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"Makefile.in <span style='color:#111;'> 21.45KB </span>","children":null,"spread":false},{"title":"curlrules.h <span style='color:#111;'> 8.72KB </span>","children":null,"spread":false},{"title":"mprintf.h <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"typecheck-gcc.h <span style='color:#111;'> 36.68KB </span>","children":null,"spread":false},{"title":"curlbuild.h.in <span style='color:#111;'> 6.98KB </span>","children":null,"spread":false},{"title":"Makefile.am <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"curl.h <span style='color:#111;'> 87.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"curlDemo.Build.CppClean.log <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"curlDemo.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"curlDemo.lastbuildstate <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"curlDemo.log <span style='color:#111;'> 155.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"curlDemo.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"WinHttpClient","children":[{"title":"winhttp.h <span style='color:#111;'> 43.78KB </span>","children":null,"spread":false},{"title":"Test.cpp <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"WinHttpClient.h <span style='color:#111;'> 34.98KB </span>","children":null,"spread":false},{"title":"RegExp.h <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"StringProcess.h <span style='color:#111;'> 15.01KB </span>","children":null,"spread":false},{"title":"atlrx.h <span style='color:#111;'> 44.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 403991737 :
    下载下来学习一下
    2018-04-22
  • RuningPigNO1 :
    请问博主,如果要用到SSL双向认证,需要怎么处理
    2018-03-30
  • 彩笔无线送 :
    很不错 只得学习
    2018-03-21
  • reggiehuang :
    vs2010能直接使用,谢谢分享
    2017-11-02
  • w2453476933 :
    感觉很不错的资源,下载下来研究一下。
    2017-08-14

免责申明

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