   <a class="indexterm" name="idm45213580345184"></a>
Return a new stream connected to the given stream.
      </p>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
    <span class="keyword">class</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">&gt;</span>
<span class="identifier">stream</span>
<a class="link" href="boost__beast__test__connect/overload1.html" title="test::connect (1 of 2 overloads)">connect</a