开发者

Recommend a c++ lib to work with http [closed]

开发者 https://www.devze.com 2023-02-09 11:40 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago. 开发者_运维问答

I need a library to work with http (c++, c). It has to send and receive http requests. It will be used in a server to answer http requests. My client - server interaction should use REST model.


Look no further: CURL (with its correspondent libcurl) is your best shot in my opinion.


It sounds like you need two libraries, server-side and client side.

On the server side, I have found mongoose effective for supporting http requests.

On the client side, I have heard many good things about libcurl.

0

精彩评论

暂无评论...
验证码 换一张
取 消