boost::corosio::wolfssl_stream::wolfssl_stream
Constructors
Synopses
Declared in <boost/corosio/wolfssl_stream.hpp>
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, |
stream |
The stream to take ownership of. Must satisfy |
ctx |
The TLS context containing configuration. |
Created with MrDocs