boost::corosio::wolfssl_stream::wolfssl_stream

Constructors

Synopses

Move construct from another WolfSSL stream.

wolfssl_stream(wolfssl_stream&& other) noexcept;

Construct a WolfSSL stream (owning mode).

template<capy::Stream S>
requires (!std::same_as<std::decay_t<S>, wolfssl_stream>)
wolfssl_stream(
    S stream,
    tls_context const& ctx);

Construct a WolfSSL stream (reference mode).

template<capy::Stream S>
wolfssl_stream(
    S* stream,
    tls_context const& ctx);

Parameters

Name

Description

other

The source stream. After the move, other is in a valid but unspecified state.

stream

The stream to take ownership of. Must satisfy capy::Stream.

ctx

The TLS context containing configuration.

Created with MrDocs