C++的 HTTP 客户端库
1. cpp-httplib
优点:headers only 而且 API 用起来超简单
缺点:g++ 4.8 and below cannot build this library since <regex>
in the versions are broken.
2. boost.beast
优点:基于 boost.asio 的 boost.beast,功能强大,简单好用,headers only,可以放在自己的源代码里,不用考虑库版本迁移,并且是 boost 组件之一,将来不同系统版本乃至跨平台只要有 boost 就能直接用!
缺点:是比较臃肿
参考:https://www.v2ex.com/t/642395