Skip to content

Missing HTTPS use documentation. #429

@povilasb

Description

@povilasb

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
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy