<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ssl::context::context</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" title="Asio"> <link rel="up" href="../ssl__context.html" title="ssl::context"> <link rel="prev" href="clear_options/overload2.html" title="ssl::context::clear_options (2 of 2 overloads)"> <link rel="next" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)"> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="clear_options/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="context/overload1.html"><img src="../../../next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="asio.reference.ssl__context.context"></a><a class="link" href="context.html" title="ssl::context::context">ssl::context::context</a> </h4></div></div></div> <p> <a class="indexterm" name="asio.indexterm.ssl__context.context"></a> Constructor. </p> <pre class="programlisting"><span class="keyword">explicit</span> <a class="link" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)">context</a><span class="special">(</span> <span class="identifier">method</span> <span class="identifier">m</span><span class="special">);</span> <span class="emphasis"><em>» <a class="link" href="context/overload1.html" title="ssl::context::context (1 of 3 overloads)">more...</a></em></span> </pre> <p> Construct to take ownership of a native handle. </p> <pre class="programlisting"><span class="keyword">explicit</span> <a class="link" href="context/overload2.html" title="ssl::context::context (2 of 3 overloads)">context</a><span class="special">(</span> <span class="identifier">native_handle_type</span> <span class="identifier">native_handle</span><span class="special">);</span> <span class="emphasis"><em>» <a class="link" href="context/overload2.html" title="ssl::context::context (2 of 3 overloads)">more...</a></em></span> </pre> <p> Move-construct a context from another. </p> <pre class="programlisting"><a class="link" href="context/overload3.html" title="ssl::context::context (3 of 3 overloads)">context</a><span class="special">(</span> <span class="identifier">context</span> <span class="special">&&</span> <span class="identifier">other</span><span class="special">);</span> <span class="emphasis"><em>» <a class="link" href="context/overload3.html" title="ssl::context::context (3 of 3 overloads)">more...</a></em></span> </pre> </div> <div class="copyright-footer">Copyright © 2003-2023 Christopher M. Kohlhoff<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div> <hr> <div class="spirit-nav"> <a accesskey="p" href="clear_options/overload2.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ssl__context.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="context/overload1.html"><img src="../../../next.png" alt="Next"></a> </div> </body> </html>