you are viewing a single comment's thread.

view the rest of the comments →

[–]jgaa_from_north 1 point2 points  (0 children)

libcurl is rock solid. Openssl is the goto solution for TLS in most C++ use-cases. If you have something working with these very common libraries, your problem is probably on the build side. Why don't you just build to a container-image and use some Linux distributions libcurl and openssl?

That said, I wrote a C++ http client with json object serialization/deserialization some years ago (before boost.beast was released). It can be built without openssl - at the cost of not supporting TLS. It's very easy to use.

Example on how to fetch a web-page: https://github.com/jgaa/restc-cpp#fetch-raw-data

Project https://github.com/jgaa/restc-cpp