forked from glynos/cpp-netlib
-
Notifications
You must be signed in to change notification settings - Fork 425
Open
Milestone
Description
I'm using 0.11-devel branch commit bd0cf0b (latest by the time I opened this issue).
I wrote a basic sample for HTTPS request:
#define BOOST_NETWORK_ENABLE_HTTPS
#include <boost/network/protocol/http/client.hpp>
namespace net = boost::network;
namespace http = net::http;
http::client::request request("https://mano.labas.lt/lt/selfcare");
request << net::header("Connection", "close");
http::client client_;
http::client::response response = client_.get(request);
std::string body_ = http::body(response);
std::cout << body_ << '\n';
The problem is that there was no documentation about #define BOOST_NETWORK_ENABLE_HTTPS
. At least i couldn't find one. I found it on https://groups.google.com/forum/#!topic/cpp-netlib/M8LIz9ahMLo.
So my request would be to include this info in HTTP/HTTPS client documentation.
Metadata
Metadata
Assignees
Labels
No labels