Skip to content

JZFamily/CurlHttpClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurlHttpClient

a libcurl c++ warpper for http

概述

怀旧操作。 该库简单易懂易用,最重要的是一个非常不错的c++&cmake实践和参考模板 本库可以理论上支持win/lin编译,由于偷懒cmakelists中没有进行linux的配置。

进展

  • 实现了简单的get和post封装。
  • 支持https
  • @2020-10-29 add DELETE PUT method , but no test
  • @2020-10-31 添加了一个测试用例,实际是k8s客户端。如果能弄好打算工作时用一下。 json作配置文件,nlohmann json 库来解析。
  • @2020-11-01 添加了boost的使用,测试了delete接口
  • @2020-11-08 因为犯了某些错我重新提交了代码,增加了第三方库和k8s客户端
  • @2020-11-27 昨天提交了一个k8s事件采集客户端代码。采集k8s事件,事件以json形式存sqlite

待进行

实践中可能还需要以下几个

  • zlib进行数据压缩解压的解析
  • utf8编码问题
  • json和xml等格式问题
  • put等方法实现和自定义方法

About

a libcurl c++ warpper for http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors