| Home | Libraries | People | FAQ | More

###### ssl_stream::ssl_stream (1 of 2 overloads)

Construct a stream.

Synopsis

    template<
        class Arg>
    ssl_stream(
        Arg&& arg,
        boost::asio::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.