Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 0f95d64ff2.
PrevUpHomeNext
ssl_stream::ssl_stream

Construct a stream.

Synopsis
template<
    class Arg>
ssl_stream(
    Arg&& arg,
    net::ssl::context& ctx);
Description

This constructor creates a stream and initialises the underlying stream object.

Parameters

Name

Description

arg

The argument to be passed to initialise the underlying stream.

ctx

The SSL context to be used for the stream.


PrevUpHomeNext